forked from objectionary/jeo-maven-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rultor.yml
21 lines (21 loc) · 1.02 KB
/
.rultor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
architect:
- volodya-lombrozo
docker:
image: lombrozo/rultor-image-java:pr-4
assets:
settings.xml: yegor256/objectionary-secrets#settings.xml
pubring.gpg: yegor256/objectionary-secrets#pubring.gpg
secring.gpg: yegor256/objectionary-secrets#secring.gpg
merge:
script: mvn clean install -Pqulice --errors --batch-mode
release:
pre: false
script: |-
echo "Master branch"
export MAVEN_OPTS="--add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED"
echo "MAVEN_OPTS: $MAVEN_OPTS"
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
mvn versions:set "-DnewVersion=${tag}"
git commit -am "${tag}"
mvn clean install -Pqulice --errors --batch-mode -Dinvoker.skip -DskipITs
mvn clean deploy -Pobjectionary -Psonatype --errors --settings ../settings.xml -Dstyle.color=never