Skip to content

Commit e9a1f05

Browse files
authored
Merge pull request #49 from thanglequoc/develop
feat: Change type to Basic Auth
2 parents 7519f6c + cb9117f commit e9a1f05

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ jobs:
4747
JRELEASER_DEPLOY_MAVEN_MAVENCENTRAL_SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
4848
run: |
4949
echo "=== JReleaser Environment Variables ==="
50-
echo "JRELEASER_DEPLOY_MAVEN_MAVENCENTRAL_SONATYPE_PASSWORD is set: $([ -n "$JRELEASER_DEPLOY_MAVEN_MAVENCENTRAL_SONATYPE_PASSWORD" ] && echo YES || echo NO)"
50+
echo "SONATYPE_USERNAME is set: $([ -n "$JRELEASER_DEPLOY_MAVEN_MAVENCENTRAL_SONATYPE_USERNAME" ] && echo YES || echo NO)"
51+
echo "SONATYPE_PASSWORD is set: $([ -n "$JRELEASER_DEPLOY_MAVEN_MAVENCENTRAL_SONATYPE_PASSWORD" ] && echo YES || echo NO)"
5152
env | grep JRELEASER | sort
5253
echo "====================================="
5354

jreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ deploy:
2727
sonatype:
2828
active: ALWAYS
2929
url: https://central.sonatype.com/api/v1/publisher
30-
authorization: BEARER
30+
authorization: BASIC
3131
sign: true
3232
stagingRepositories:
3333
- build/staging-deploy

0 commit comments

Comments
 (0)