-
Notifications
You must be signed in to change notification settings - Fork 21
/
.rultor.yml
29 lines (29 loc) · 1011 Bytes
/
.rultor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
docker:
image: g4s8/rultor:alpine3.10
assets:
settings.xml: llorllale/home#assets/cactoos-matchers/settings.xml
pubring.gpg: llorllale/home#assets/pubring.gpg
secring.gpg: llorllale/home#assets/secring.gpg
architect:
- llorllale
- victornoel
merge:
script: |
pdd -f /dev/null
mvn clean install -Pqulice --errors --settings ../settings.xml
mvn clean site -Psite --errors --settings ../settings.xml
deploy:
script: |
pdd -f /dev/null
mvn clean deploy -Pqulice --errors --settings ../settings.xml
release:
sensitive:
- settings.xml
script: |-
[[ "${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
mvn versions:set "-DnewVersion=${tag}" --settings ../settings.xml
git commit -am "${tag}"
# Sonar is disabled (was -Psonar) because sonarcloud.io only support Java 11+
mvn clean deploy -Pqulice -Psonatype --errors --settings ../settings.xml