Herald.go #47
1 changed files with 3 additions and 3 deletions
|
@ -25,12 +25,12 @@ AREA_RENAME = {
|
||||||
def build_upload_binary(release: github3.repos.release.Release) -> None:
|
def build_upload_binary(release: github3.repos.release.Release) -> None:
|
||||||
# os.chdir(absolute_path)
|
# os.chdir(absolute_path)
|
||||||
# os.system("go build .")
|
# os.system("go build .")
|
||||||
cmd = f'CGO_ENABLED=0 go build -v -ldflags "-X github.com/lbryio/herald.go/meta.Version={release.name}"'
|
cmd = f'go build -o herald -v -ldflags "-X github.com/lbryio/herald.go/meta.Version={release.name}"'
|
||||||
print(cmd)
|
print(cmd)
|
||||||
# os.system("go build .")
|
# os.system("go build .")
|
||||||
os.system(cmd)
|
os.system(cmd)
|
||||||
with open("./hub", "rb") as f:
|
with open("./herald", "rb") as f:
|
||||||
|
|||||||
release.upload_asset("binary", "hub", f)
|
release.upload_asset("binary", "herald", f)
|
||||||
|
|
||||||
|
|
||||||
def get_github():
|
def get_github():
|
||||||
|
|
Loading…
Reference in a new issue
Another /hub reference. Should be /herald or /herald.go.