forked from yegor256/takes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rultor.yml
23 lines (23 loc) · 862 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
docker:
image: yegor256/rultor-image:1.9.1
assets:
settings.xml: yegor256/home#assets/takes/settings.xml
pubring.gpg: yegor256/home#assets/pubring.gpg
secring.gpg: yegor256/home#assets/secring.gpg
install: |
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
merge:
script: |
pdd --source=$(pwd) --verbose --file=/dev/null
mvn clean install -Pqulice --errors --settings ../settings.xml
mvn clean site -Psite --errors --settings ../settings.xml
release:
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}"
git commit -am "${tag}"
mvn clean deploy -Ptakes -Psonatype -Pqulice -Dinvoker.skip --errors --settings ../settings.xml