diff --git a/scripts/version.py b/scripts/version.py index e87c2e0..a4b2d24 100644 --- a/scripts/version.py +++ b/scripts/version.py @@ -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: + release.upload_asset("binary", "herald", f) def get_github():