Skip to content

Commit

Permalink
fix: add build steps to create binary checksum and signature files (#901
Browse files Browse the repository at this point in the history
)

Signed-off-by: Cheng Fang <[email protected]>
  • Loading branch information
chengfang authored Oct 30, 2024
1 parent e370a64 commit a5acd25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ release-binaries:
BINNAME=argocd-image-updater-darwin_amd64 OUTDIR=dist/release OS=darwin ARCH=amd64 make controller
BINNAME=argocd-image-updater-darwin_arm64 OUTDIR=dist/release OS=darwin ARCH=arm64 make controller
BINNAME=argocd-image-updater-win64.exe OUTDIR=dist/release OS=windows ARCH=amd64 make controller
rm -f dist/release/release-v${VERSION}.sha256 dist/release/release-v${VERSION}.sha256.asc
for bin in dist/release/argocd-image-updater-*; do sha256sum "$$bin" >> dist/release/release-v${VERSION}.sha256; done
gpg -a --detach-sign dist/release/release-v${VERSION}.sha256
gpg -a --verify dist/release/release-v${VERSION}.sha256.asc

.PHONY: extract-binary
extract-binary:
Expand Down

0 comments on commit a5acd25

Please sign in to comment.