Skip to content

Commit

Permalink
chore: only edit releases when not a dry run
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Aug 1, 2024
1 parent a7534bb commit 2255522
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packaging/alpine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sudo su - packager
abuild-keygen -a -n
```

Then store them in Github secrets as `ALPINE_PRIV_KEY` and `ALPINE_PUB_KEY`.
Then store them in GitHub secrets as `ALPINE_PRIV_KEY` and `ALPINE_PUB_KEY`.
Note the name of the private key file, it will be something like `-5f2b2c4e.rsa`.
Save that string as `ALPINE_KEY_ID` as another secret.

Expand Down
4 changes: 2 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@ if [[ "$DRY_RUN" != 1 ]]; then
# NPM_PREFIX=mise-cli ./scripts/release-npm.sh
echo "::group::Publish r2"
./scripts/publish-r2.sh
echo "::group::Publish GitHub releases"
gh release edit --draft=false "$MISE_VERSION"
fi

gh release edit --draft=false "$MISE_VERSION"

0 comments on commit 2255522

Please sign in to comment.