forked from alecgorge/jsonapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
complete_build
executable file
·61 lines (46 loc) · 1.49 KB
/
complete_build
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
#!/usr/bin/env bash
# Generated with the command ./jsonapi build all
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
echo "Building 1.4.7-R1.0"
mvn clean install $@ -DmcPackage=v1_4_R1 -DcbVersion=1.4.7-R1.0 -Dmc16OrNewer=no -Dmc17OrNewer=no -Dmc179OrNewer=no
rc=$?
if [[ $rc != 0 ]] ; then
exit $rc
fi
echo "Building 1.5.2-R1.0"
mvn clean install $@ -DmcPackage=v1_5_R3 -DcbVersion=1.5.2-R1.0 -Dmc16OrNewer=no -Dmc17OrNewer=no -Dmc179OrNewer=no
rc=$?
if [[ $rc != 0 ]] ; then
exit $rc
fi
echo "Building 1.6.2-R1.0"
mvn clean install $@ -DmcPackage=v1_6_R2 -DcbVersion=1.6.2-R1.0 -Dmc16OrNewer=yes -Dmc17OrNewer=no -Dmc179OrNewer=no
rc=$?
if [[ $rc != 0 ]] ; then
exit $rc
fi
echo "Building 1.6.4-R2.0"
mvn clean install $@ -DmcPackage=v1_6_R3 -DcbVersion=1.6.4-R2.0 -Dmc16OrNewer=yes -Dmc17OrNewer=no -Dmc179OrNewer=no
rc=$?
if [[ $rc != 0 ]] ; then
exit $rc
fi
echo "Building 1.7.2-R0.3"
mvn clean install $@ -DmcPackage=v1_7_R1 -DcbVersion=1.7.2-R0.3 -Dmc16OrNewer=yes -Dmc17OrNewer=yes -Dmc179OrNewer=no
rc=$?
if [[ $rc != 0 ]] ; then
exit $rc
fi
echo "Building 1.7.5-R0.1-SNAPSHOT"
mvn clean install $@ -DmcPackage=v1_7_R2 -DcbVersion=1.7.5-R0.1-SNAPSHOT -Dmc16OrNewer=yes -Dmc17OrNewer=yes -Dmc179OrNewer=no
rc=$?
if [[ $rc != 0 ]] ; then
exit $rc
fi
echo "Building 1.7.9-R0.2-SNAPSHOT"
mvn clean install $@ -DmcPackage=v1_7_R3 -DcbVersion=1.7.9-R0.2-SNAPSHOT -Dmc16OrNewer=yes -Dmc17OrNewer=yes -Dmc179OrNewer=yes
rc=$?
if [[ $rc != 0 ]] ; then
exit $rc
fi