From e23ab6f73d0d8763c7a66d2b5f0a5e50339e7040 Mon Sep 17 00:00:00 2001 From: Sriraam AS Date: Fri, 4 Jun 2021 12:52:35 -0400 Subject: [PATCH 1/2] add additional information to see why github release fails --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73d836d..60ecb5a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} From b6faf4ffc80435a73476b01c0911c3b86aa718d1 Mon Sep 17 00:00:00 2001 From: Sriraam AS Date: Fri, 4 Jun 2021 15:00:56 -0400 Subject: [PATCH 2/2] fix no staging repositories found issue --- build.sbt | 2 +- publish.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 926e395..273a95c 100644 --- a/build.sbt +++ b/build.sbt @@ -47,4 +47,4 @@ inScope(Global)(Seq( )) skip in publish := true -publishTo := sonatypePublishToBundle.value +publishTo := sonatypePublishToBundle.value \ No newline at end of file diff --git a/publish.sh b/publish.sh index 62a098f..64c56ac 100644 --- a/publish.sh +++ b/publish.sh @@ -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