chiark / gitweb /
Build script uses new revision file. Increment version.
authornickthetait <tait@alephobjects.com>
Mon, 8 Jun 2015 17:39:01 +0000 (11:39 -0600)
committernickthetait <tait@alephobjects.com>
Mon, 8 Jun 2015 17:39:01 +0000 (11:39 -0600)
Cura/revision [new file with mode: 0644]
package.sh

diff --git a/Cura/revision b/Cura/revision
new file mode 100644 (file)
index 0000000..1010473
--- /dev/null
@@ -0,0 +1 @@
+1.02
index 247ddd847042613096f4e422989ef75b1d651783..39ed43abbe756889deff9571c15919ae6d33f1eb 100755 (executable)
@@ -24,15 +24,20 @@ ARCHIVE_FOR_DISTRIBUTION=1
 ##Which version name are we appending to the final archive
 
 
-file="./Cura/version"
+##Version
+version_file="./Cura/version"
 while IFS= read -r line
 do
     export BUILD_NAME="$line"
-done <"$file"
+done <"$version_file"
 TARGET_DIR=Cura-${BUILD_NAME}-${BUILD_TARGET}
 
 ##Revision
-export REVISION=1.01
+revision_file="./Cura/revision"
+while IFS= read -r line
+do
+    export REVISION="$line"
+done <"$revision_file"
 
 ##Git commit
 GIT_HASH=$(git rev-parse --short=4 HEAD)