Skip to content

Commit

Permalink
Fix checksum files in CI release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
vy committed Sep 15, 2023
1 parent cdf5f60 commit daa46ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy-release-reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,9 @@ jobs:
for DIST_FILEPATH in "$DIST_FILEPATH_SRC" "$DIST_FILEPATH_BIN"; do
if [ -f "$DIST_FILEPATH" ]; then
gpg --armor --detach-sign --yes --pinentry-mode error "$DIST_FILEPATH"
sha512sum "$DIST_FILEPATH" > "$DIST_FILEPATH.sha512"
sha512sum "$DIST_FILEPATH" \
| ( read CHECKSUM FILEPATH; echo $CHECKSUM $(basename "$FILEPATH") ) \
> "$DIST_FILEPATH.sha512"
fi
done
Expand Down

0 comments on commit daa46ba

Please sign in to comment.