This commit is contained in:
parent
4a859fae10
commit
7539251afe
1 changed files with 1 additions and 13 deletions
|
@ -20,13 +20,9 @@ steps:
|
|||
# write version to env file for image
|
||||
- echo "#sdfsdf" > release.properties
|
||||
- echo "foo=bar" >> release.properties
|
||||
- echo "scm.tag=dev" >> release.properties
|
||||
- echo "scm.tag=snapshot" >> release.properties
|
||||
- echo "scm.sdf=bar" >> release.properties
|
||||
- cat release.properties
|
||||
- echo "VERSION=$(grep "scm.tag=" release.properties | cut -d= -f2)" > maven.env
|
||||
- pwd
|
||||
- ls -lA
|
||||
- cat maven.env
|
||||
environment:
|
||||
MAVEN_ARGS: --batch-mode --color=always --no-transfer-progress --settings=.woodpecker/maven/settings.xml
|
||||
MAVEN_GPG_KEY: {from_secret: woodpecker_gpg_key}
|
||||
|
@ -36,14 +32,6 @@ steps:
|
|||
SONATYPE_ORG_USERNAME: {from_secret: sonatype_org_username}
|
||||
SONATYPE_ORG_PASSWORD: {from_secret: sonatype_org_password}
|
||||
|
||||
echo:
|
||||
image: kokuwaio/buildctl
|
||||
pull: true
|
||||
commands:
|
||||
- pwd
|
||||
- ls -lA
|
||||
- cat maven.env
|
||||
|
||||
image:
|
||||
image: kokuwaio/buildctl
|
||||
pull: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue