Skip to content

Commit

Permalink
(yegor256#1411) Use working rultor config for release
Browse files Browse the repository at this point in the history
  • Loading branch information
victornoel committed Sep 7, 2020
1 parent 25458fb commit 1ddee1b
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .rultor.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
docker:
image: yegor256/rultor-image:1.3
image: g4s8/rultor:alpine3.10
assets:
settings.xml: yegor256/home#assets/cactoos/settings.xml
pubring.gpg: yegor256/home#assets/pubring.gpg
secring.gpg: yegor256/home#assets/secring.gpg
architect:
- victornoel
- yegor256
install: |
sudo update-java-alternatives -s java-1.8.0-openjdk-amd64
pdd -f /dev/null
- victornoel
- yegor256
merge:
script: |
pdd -f /dev/null
Expand All @@ -23,11 +20,9 @@ release:
sensitive:
- settings.xml
script: |-
export GPG_TTY=$(tty)
[[ "${tag}" =~ ^[0-9]+(\.[0-9]+)*$ ]] || exit -1
gpg --import /home/r/pubring.gpg
gpg --allow-secret-key-import --no-tty --batch --import /home/r/secring.gpg
[[ "${tag}" =~ ^[0-9]+(\.[0-9]+)*$ ]] || exit -1
mvn versions:set "-DnewVersion=${tag}"
mvn versions:set "-DnewVersion=${tag}" --settings ../settings.xml
git commit -am "${tag}"
mvn clean deploy -P cactoos -Psonar -Pqulice -Psonatype --errors --settings ../settings.xml
rm -f settings.xml
mvn clean deploy -Psonar -Pqulice -Psonatype --errors --settings ../settings.xml

0 comments on commit 1ddee1b

Please sign in to comment.