This commit is contained in:
parent
9d24e3daad
commit
8fa55d0ea1
@ -7,9 +7,9 @@ steps:
|
||||
- name: publish
|
||||
image: maven:3.8.4-openjdk-11
|
||||
commands:
|
||||
- echo "$GPG_PRIVATE_KEY" >> "gpg.key"
|
||||
- echo "$MAVEN_SETTINGS" >> "maven-settings.xml"
|
||||
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key
|
||||
- echo "${GPG_PRIVATE_KEY}" >> "gpg.key"
|
||||
- echo "${MAVEN_SETTINGS}" >> "maven-settings.xml"
|
||||
- gpg --pinentry-mode loopback --passphrase ${GPG_PASSPHRASE} --import gpg.key
|
||||
- mvn --settings maven-settings.xml -U -P ossrh,release clean deploy
|
||||
|
||||
trigger:
|
||||
|
Loading…
Reference in New Issue
Block a user