Herald.go #47

Merged
jeffreypicard merged 5 commits from herald.go into master 2022-08-09 13:43:02 +02:00
Showing only changes of commit f118a1d7a5 - Show all commits

View file

@ -25,12 +25,12 @@ AREA_RENAME = {
def build_upload_binary(release: github3.repos.release.Release) -> None:
# os.chdir(absolute_path)
# 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)
# os.system("go build .")
os.system(cmd)
with open("./hub", "rb") as f:
release.upload_asset("binary", "hub", f)
with open("./herald", "rb") as f:
moodyjon commented 2022-08-04 22:13:18 +02:00 (Migrated from github.com)
Review

Another /hub reference. Should be /herald or /herald.go.

Another /hub reference. Should be /herald or /herald.go.
release.upload_asset("binary", "herald", f)
def get_github():