Skip to content

Commit 3fd399b

Browse files
committed
adding manual sonatype API call to make artifact visible
Signed-off-by: Min Jin <minkimzz@amazon.com>
1 parent 280da52 commit 3fd399b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ jobs:
7979
run: |
8080
# The tests are already executed in the prepare, skipping
8181
./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
82+
curl -X POST \
83+
-H "Authorization: Bearer $(base64 -w0 ${{ secrets.SNAPSHOT_UPLOAD_USER }}:${{ secrets.SNAPSHOT_UPLOAD_PASSWORD }})" \
84+
https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/io.kubernetes -v
8285
git push https://${{ github.token }}@github.com/${{ github.repository }}.git \
8386
automated-release-${{ github.event.inputs.releaseVersion }}:automated-release-${{ github.event.inputs.releaseVersion }}
8487
git push https://${{ github.token }}@github.com/${{ github.repository }}.git v${{ github.event.inputs.releaseVersion }}

0 commit comments

Comments
 (0)