Skip to content

Commit

Permalink
Merge pull request #24 from sriraamas/fix-sonatype-publish
Browse files Browse the repository at this point in the history
ensure to upload sonatype staging repository before attempting a release
  • Loading branch information
sriraamas authored Jun 9, 2021
2 parents 60db707 + d7e0c66 commit 9c77e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e

echo "$PGP_SECRET" | base64 --decode | gpg --import
if [[ $GITHUB_REF == refs/tags/* ]]; then
command="; publishSigned; sonatypeOpen; sonatypeReleaseAll"
command="; publishSigned; sonatypePrepare; sonatypeBundleUpload; sonatypeReleaseAll"
else
command="publishSigned"
fi
Expand Down

0 comments on commit 9c77e87

Please sign in to comment.