3 export VERSION=1.8.3-1.0_JVL
5 if [ x${VERSION%_JVL} = x$VERSION ]; then
9 echo "Setting VERSION to '$VERSION'"
11 perl -p -i -e 's|(<version>)[^<]*JVL[^<]*(</version>)|${1}$ENV{VERSION}${2}|;' pom.xml */pom.xml
13 mvn clean package -Dgetdown.host.whitelist="jalview.org,*.jalview.org"
15 if [ x$RET = x0 ]; then
16 cp launcher/target/getdown-launcher-$VERSION.jar ../../../getdown/lib/getdown-launcher.jar
17 cp core/target/getdown-core-$VERSION.jar ../../../getdown/lib/getdown-core.jar
18 cp core/target/getdown-core-$VERSION.jar ../../../j8lib/getdown-core.jar
19 cp core/target/getdown-core-$VERSION.jar ../../../j11lib/getdown-core.jar