Skip to content

Commit

Permalink
chore: fix minisign signing
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Dec 22, 2024
1 parent ecebebe commit 6401ff8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,23 @@ sha256sum ./mise-latest-* >SHASUMS256.txt
sha512sum ./mise-latest-* >SHASUMS512.txt
gpg --clearsign -u 8B81C9D17413A06D <SHASUMS256.txt >SHASUMS256.asc
gpg --clearsign -u 8B81C9D17413A06D <SHASUMS512.txt >SHASUMS512.asc
minisig -Sm SHASUMS256.txt SHA256SUMS512.txt
minisign -Sm SHASUMS256.txt SHA256SUMS512.txt
popd

pushd "$RELEASE_DIR/$MISE_VERSION"
sha256sum ./* >SHASUMS256.txt
sha512sum ./* >SHASUMS512.txt
gpg --clearsign -u 8B81C9D17413A06D <SHASUMS256.txt >SHASUMS256.asc
gpg --clearsign -u 8B81C9D17413A06D <SHASUMS512.txt >SHASUMS512.asc
minisig -Sm SHASUMS256.txt SHA256SUMS512.txt
minisign -Sm SHASUMS256.txt SHA256SUMS512.txt
popd

echo "::group::install.sh"
./scripts/render-install.sh >"$RELEASE_DIR"/install.sh
chmod +x "$RELEASE_DIR"/install.sh
shellcheck "$RELEASE_DIR"/install.sh
gpg -u 8B81C9D17413A06D --output "$RELEASE_DIR"/install.sh.sig --sign "$RELEASE_DIR"/install.sh
minisig -Sm "$RELEASE_DIR"/install.sh
minisign -Sm "$RELEASE_DIR"/install.sh

if [[ "$DRY_RUN" != 1 ]]; then
echo "::group::Publish npm @jdxcode/mise"
Expand Down

0 comments on commit 6401ff8

Please sign in to comment.