Skip to content

Commit d45b4b5

Browse files
committed
Fix release pipeline
1 parent b1d5bfb commit d45b4b5

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/release-workflow.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,9 @@ jobs:
2828
- name: Maven package and publish
2929
env:
3030
MAVEN_USERNAME: ${{ secrets.CENTRAL_USERNAME }}
31-
MAVEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN }}
31+
MAVEN_PASSWORD: ${{ secrets.CENTRAL_PASSWORD }}
3232
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
33-
run: |
34-
mvn help:effective-settings -DshowPasswords=true \
35-
| sed -E \
36-
-e 's#(<password>)(.{3}).*(.{3})(</password>)#\1\2***\3\4#g' \
37-
-e 's#(<gpg\.passphrase>).*?(</gpg\.passphrase>)#\1***\2#g'
38-
mvn deploy -Prelease -DskipTests
33+
run: mvn deploy -Prelease
3934

4035
- name: Maven build bundle
4136
run: mvn clean package -Pbundle

0 commit comments

Comments
 (0)