-
Notifications
You must be signed in to change notification settings - Fork 48
/
release.sh
74 lines (62 loc) · 1.67 KB
/
release.sh
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/usr/bin/env bash
# MAC export GPG_TTY=$(tty)
export GPG_TTY=$(tty)
export PW=$1
echo $1
mvn clean package -Dmaven.test.skip=true -DadditionalJOption=-Xdoclint:none gpg:sign -Dgpg.passphrase=$PW
mkdir target
cd target
rm *-jar-with*
rm -r */
rm *stale-data.txt
jar -cf bundle.jar *
cd ..
mvn package install -Dmaven.test.skip=true -DadditionalJOption=-Xdoclint:none # rebuild fat jars
#cd modules/kontraktor-bare
#
#mvn clean package -Dmaven.test.skip=true gpg:sign -Dgpg.passphrase=$PW
#mkdir target
#cd target
#rm -r */
#rm *-jar-with-dep*
#jar -cf bundle.jar *
#cd ..
#mvn package -Dmaven.test.skip=true # rebuild fat jars
cd modules/kontraktor-http
mvn clean package -Dmaven.test.skip=true -DadditionalJOption=-Xdoclint:none gpg:sign -Dgpg.passphrase=$PW
mkdir target
cd target
rm -r */
rm khttp.jar*
rm *stale-data.txt
jar -cf bundle.jar *
cd ..
mvn install -Dmaven.test.skip=true -DadditionalJOption=-Xdoclint:none # install
#cd ../reactive-streams
#
#mvn clean package -Dmaven.test.skip=true -DadditionalJOption=-Xdoclint:none gpg:sign -Dgpg.passphrase=$PW
#mkdir target
#cd target
#rm *-jar-with*
#rm -r */
#jar -cf bundle.jar *
#cd ..
cd ../kontraktor-reallive
mvn clean package -Dmaven.test.skip=true -DadditionalJOption=-Xdoclint:none gpg:sign -Dgpg.passphrase=$PW
mkdir target
cd target
rm *-jar-with*
rm -r */
rm *stale-data.txt
jar -cf bundle.jar *
cd ..
mvn package install -Dmaven.test.skip=true -DadditionalJOption=-Xdoclint:none # rebuild fat jars
cd ../service-suppport
mvn clean package -Dmaven.test.skip=true -DadditionalJOption=-Xdoclint:none gpg:sign -Dgpg.passphrase=$PW
mkdir target
cd target
rm *-jar-with*
rm *stale-data.txt
rm -r */
jar -cf bundle.jar *
cd ..