Skip to content

Commit 9a3b33e

Browse files
committed
adding manual sonatype API call to make artifact visible
Signed-off-by: Min Jin <[email protected]>
1 parent 8ce6e4f commit 9a3b33e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ jobs:
7676
GPG_PASSPHRASE: ${{ secrets.GPG_PASSWORD }}
7777
run: |
7878
# The tests are already executed in the prepare, skipping
79-
./mvnw -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -DlocalCheckout=true -Darguments=-DskipTests org.apache.maven.plugins:maven-release-plugin:perform
79+
./mvnw -s /home/runner/.m2/settings.xml -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -DlocalCheckout=true -Darguments=-DskipTests org.apache.maven.plugins:maven-release-plugin:perform
80+
curl -X POST \
81+
-H "Authorization: Bearer $(base64 -w0 ${{ secrets.SNAPSHOT_UPLOAD_USER }}:${{ secrets.SNAPSHOT_UPLOAD_PASSWORD }})" \
82+
https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/io.kubernetes -v
8083
git push https://${{ github.token }}@github.com/${{ github.repository }}.git \
8184
automated-release-${{ github.event.inputs.releaseVersion }}:automated-release-${{ github.event.inputs.releaseVersion }}
8285
git push https://${{ github.token }}@github.com/${{ github.repository }}.git v${{ github.event.inputs.releaseVersion }}

0 commit comments

Comments
 (0)