Skip to content

Commit

Permalink
OCM-7256 | chore: fix missing assets in release
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaranRoche committed Apr 25, 2024
1 parent 323b176 commit 1defa6a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ jobs:
# Copy the generated binary to the assets directory:
binary = "rosa-support"
if goos == "windows":
binary += ".exe"
asset = os.path.join(assets, f"rosa-support-{goos}-{goarch}")
os.rename(binary, asset)
Expand All @@ -74,7 +72,6 @@ jobs:
build("linux", "arm64")
build("linux", "ppc64le")
build("linux", "s390x")
build("windows", "amd64")
# Calculate the SHA256 digests:
for asset in os.listdir(assets):
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ revision:=$(shell git rev-parse --short HEAD)
build_time:=$(shell date +%D@%T)
version_stamp:=$(revision)-$(build_time)
# Set the linker flags so that the version will be included in the binaries:
import_path:=github.com/openshift-online/ocm-support-cli
import_path:=github.com/openshift-online/rosa-support
ldflags:=-X $(import_path)/pkg/info.VersionStamp=$(version_stamp)

.PHONY: build
Expand Down

0 comments on commit 1defa6a

Please sign in to comment.