Skip to content

Commit 013fa5b

Browse files
committed
chore: add curl request to automate upload to central publisher portal
1 parent 35c134f commit 013fa5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ jobs:
4141
- name: Upload to Central Publisher Portal
4242
run: |
4343
AUTH=$(echo -n "${{ secrets.CENTRAL_USERNAME }}:${{ secrets.CENTRAL_PASSWORD }}" | base64)
44-
curl -X POST "https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/com.amazonaws.serverless" \
44+
curl --fail -X POST "https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/com.amazonaws.serverless" \
4545
-H "Authorization: Bearer $AUTH"

0 commit comments

Comments
 (0)