Skip to content

Commit

Permalink
Merge pull request #21 from sriraamas/debug-failing-to-publish
Browse files Browse the repository at this point in the history
Debug failing to publish
  • Loading branch information
sriraamas authored Jun 7, 2021
2 parents 70dd177 + b6faf4f commit d746dcf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ jobs:
uses: actions/download-artifact@v2
with:
name: jars
- name: Display structure of downloaded files
run: ls -R
- name: Upload assets
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ inScope(Global)(Seq(
))

skip in publish := true
publishTo := sonatypePublishToBundle.value
publishTo := sonatypePublishToBundle.value
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; sonatypeReleaseAll"
command="; publishSigned; sonatypeOpen; sonatypeReleaseAll"
else
command="publishSigned"
fi
Expand Down

0 comments on commit d746dcf

Please sign in to comment.