121
This commit is contained in:
parent
c3b18c509a
commit
5beed29b1b
2 changed files with 4 additions and 9 deletions
|
@ -14,11 +14,9 @@ steps:
|
||||||
- git config gpg.format ssh
|
- git config gpg.format ssh
|
||||||
- git config user.signingkey /tmp/ci
|
- git config user.signingkey /tmp/ci
|
||||||
- echo $GIT_SIGN_KEY > /tmp/ci
|
- echo $GIT_SIGN_KEY > /tmp/ci
|
||||||
- echo $HOME
|
|
||||||
- ls -lA
|
|
||||||
- ls -lA ~
|
|
||||||
- pwd
|
|
||||||
- mvn release:prepare
|
- mvn release:prepare
|
||||||
|
- cat pom.xml.releaseBackup
|
||||||
|
- cat release.properties
|
||||||
environment:
|
environment:
|
||||||
MAVEN_ARGS: --batch-mode --color=always --no-transfer-progress --settings=.woodpecker/maven/settings.xml
|
MAVEN_ARGS: --batch-mode --color=always --no-transfer-progress --settings=.woodpecker/maven/settings.xml
|
||||||
GIT_SIGN_KEY: {from_secret: woodpecker_sign_key}
|
GIT_SIGN_KEY: {from_secret: woodpecker_sign_key}
|
||||||
|
@ -27,10 +25,7 @@ steps:
|
||||||
|
|
||||||
perform:
|
perform:
|
||||||
image: maven:3.9.10-eclipse-temurin-17
|
image: maven:3.9.10-eclipse-temurin-17
|
||||||
commands:
|
commands: mvn release:perform
|
||||||
- ls -lA
|
|
||||||
- ls -lA target
|
|
||||||
- mvn release:prepare
|
|
||||||
environment:
|
environment:
|
||||||
MAVEN_ARGS: --batch-mode --color=always --no-transfer-progress --settings=.woodpecker/maven/settings.xml -DautoPublish=false
|
MAVEN_ARGS: --batch-mode --color=always --no-transfer-progress --settings=.woodpecker/maven/settings.xml -DautoPublish=false
|
||||||
MAVEN_GPG_KEY: {from_secret: woodpecker_gpg_key}
|
MAVEN_GPG_KEY: {from_secret: woodpecker_gpg_key}
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -257,7 +257,7 @@
|
||||||
<artifactId>maven-release-plugin</artifactId>
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
<version>3.1.1</version>
|
<version>3.1.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<preparationGoals>test</preparationGoals>
|
<preparationGoals>clean</preparationGoals>
|
||||||
<preparationProfiles>check</preparationProfiles>
|
<preparationProfiles>check</preparationProfiles>
|
||||||
<goals>deploy -DskipITs</goals>
|
<goals>deploy -DskipITs</goals>
|
||||||
<releaseProfiles>deploy,release</releaseProfiles>
|
<releaseProfiles>deploy,release</releaseProfiles>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue