JAL-3328 Getdown version number, changed to 1.8.3-1.0_JVL
authorBen Soares <bsoares@dundee.ac.uk>
Fri, 21 Jun 2019 13:56:01 +0000 (14:56 +0100)
committerBen Soares <bsoares@dundee.ac.uk>
Fri, 21 Jun 2019 13:56:01 +0000 (14:56 +0100)
getdown/lib/getdown-core.jar
getdown/lib/getdown-launcher.jar
getdown/src/getdown/ant/pom.xml
getdown/src/getdown/core/pom.xml
getdown/src/getdown/launcher/pom.xml
getdown/src/getdown/mvn_cmd [changed mode: 0644->0755]
getdown/src/getdown/pom.xml
j11lib/getdown-core.jar
j8lib/getdown-core.jar

index 550c83f..dedf216 100644 (file)
Binary files a/getdown/lib/getdown-core.jar and b/getdown/lib/getdown-core.jar differ
index 687317f..abab590 100644 (file)
Binary files a/getdown/lib/getdown-launcher.jar and b/getdown/lib/getdown-launcher.jar differ
index 3529aa4..16af8b3 100644 (file)
@@ -4,7 +4,7 @@
   <parent>
     <groupId>com.threerings.getdown</groupId>
     <artifactId>getdown</artifactId>
-    <version>1.0B-JVL-1.8.3-SNAPSHOT</version>
+    <version>1.8.3-1.0_JVL</version>
   </parent>
 
   <artifactId>getdown-ant</artifactId>
index c1e7c23..d8264b4 100644 (file)
@@ -4,7 +4,7 @@
   <parent>
     <groupId>com.threerings.getdown</groupId>
     <artifactId>getdown</artifactId>
-    <version>1.0B-JVL-1.8.3-SNAPSHOT</version>
+    <version>1.8.3-1.0_JVL</version>
   </parent>
 
   <artifactId>getdown-core</artifactId>
index 5b6dfcd..90e5c83 100644 (file)
@@ -4,7 +4,7 @@
   <parent>
     <groupId>com.threerings.getdown</groupId>
     <artifactId>getdown</artifactId>
-    <version>1.0B-JVL-1.8.3-SNAPSHOT</version>
+    <version>1.8.3-1.0_JVL</version>
   </parent>
 
   <artifactId>getdown-launcher</artifactId>
old mode 100644 (file)
new mode 100755 (executable)
index 03875e6..2e80990
@@ -1 +1,20 @@
-VERSION=1.0B-JVL-1.8.3-SNAPSHOT; mvn clean package -Dgetdown.host.whitelist="jalview.org,*.jalview.org" && cp launcher/target/getdown-launcher-$VERSION.jar ../../../getdown/lib/getdown-launcher.jar && cp core/target/getdown-core-$VERSION.jar ../../../getdown/lib/getdown-core.jar && cp core/target/getdown-core-$VERSION.jar ../../../j8lib/getdown-core.jar && cp core/target/getdown-core-$VERSION.jar ../../../j11lib/getdown-core.jar 
+#!/usr/bin/env bash
+
+export VERSION=1.8.3-1.0_JVL
+
+if [ x${VERSION%_JVL} = x$VERSION ]; then
+  VERSION=${VERSION}_JVL
+fi
+
+echo "Setting VERSION to '$VERSION'"
+
+perl -p -i -e 's|(<version>)[^<]*JVL[^<]*(</version>)|${1}$ENV{VERSION}${2}|;' pom.xml */pom.xml
+
+mvn clean package -Dgetdown.host.whitelist="jalview.org,*.jalview.org"
+RET=$?
+if [ x$RET = x0 ]; then
+  cp launcher/target/getdown-launcher-$VERSION.jar ../../../getdown/lib/getdown-launcher.jar
+  cp core/target/getdown-core-$VERSION.jar ../../../getdown/lib/getdown-core.jar
+  cp core/target/getdown-core-$VERSION.jar ../../../j8lib/getdown-core.jar
+  cp core/target/getdown-core-$VERSION.jar ../../../j11lib/getdown-core.jar 
+fi
index a13b662..3334828 100644 (file)
@@ -10,7 +10,7 @@
   <groupId>com.threerings.getdown</groupId>
   <artifactId>getdown</artifactId>
   <packaging>pom</packaging>
-  <version>1.0B-JVL-1.8.3-SNAPSHOT</version>
+  <version>1.8.3-1.0_JVL</version>
 
   <name>getdown</name>
   <description>An application installer and updater.</description>
index 550c83f..dedf216 100644 (file)
Binary files a/j11lib/getdown-core.jar and b/j11lib/getdown-core.jar differ
index 550c83f..dedf216 100644 (file)
Binary files a/j8lib/getdown-core.jar and b/j8lib/getdown-core.jar differ