Skip to content

Commit

Permalink
ci: calculate md5 hash for release binary
Browse files Browse the repository at this point in the history
  • Loading branch information
bbortt committed Sep 15, 2024
1 parent 593a51c commit 2ae563c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/pipeline/prepareCmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ release_version=$1
npm run openapi:generate:argocd
cargo bump "${release_version}"
cargo build --release

# Calculate MD5 Hash
md5sum "target/release/propeller" | awk '{print $1}' > "target/release/propeller.md5"
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
[
'@semantic-release/github',
{
assets: [{ path: 'target/release/propeller' }],
assets: [{ path: 'target/release/propeller' }, { path: 'target/release/propeller.md5' }],
},
],
],
Expand Down

0 comments on commit 2ae563c

Please sign in to comment.