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