-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rultor.yml
30 lines (30 loc) · 1.04 KB
/
.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
30
assets:
settings.xml: cqfn/secrets#settings.xml
pubring.gpg: cqfn/secrets#pubring.gpg
secring.gpg: cqfn/secrets#secring.gpg
install: |
pdd --file=/dev/null
merge:
script: |
LC_ALL=C mvn clean install -Pqulice --errors -Dstyle.color=never
release:
script: |-
mvn versions:set "-DnewVersion=${tag}" -Dstyle.color=never
git commit -am "${tag}"
mvn clean install -Dinvoker.skip
mvn clean deploy -Pcqfn -Psonatype --errors --settings ../settings.xml -Dstyle.color=never
mkdir /tmp/objectionary
cp -R src/main/eo /tmp/objectionary/objects
cp -R src/test/eo /tmp/objectionary/tests
branch=$(git rev-parse --abbrev-ref HEAD)
git checkout gh-pages
git reset --hard
sudo /bin/bash -c "cd '$(pwd)'; git clean -fd"
rm -rf objectionary
cp -R /tmp/objectionary .
find objectionary -name '*.eo' | xargs sed -i "s/0\.0\.0/${tag}/g"
git add objectionary
find objectionary -name '*.eo' > objectionary.lst
git add objectionary.lst
git commit -am "objectionary ${tag}"
git checkout "${branch}"