chiark / gitweb /
Build script now uses version file.
authornickthetait <tait@alephobjects.com>
Mon, 8 Jun 2015 17:30:17 +0000 (11:30 -0600)
committernickthetait <tait@alephobjects.com>
Mon, 8 Jun 2015 17:30:17 +0000 (11:30 -0600)
package.sh

index fb5b7df5ef50f59ee3742e496f26788c41cf0729..247ddd847042613096f4e422989ef75b1d651783 100755 (executable)
@@ -23,7 +23,12 @@ BUILD_TARGET=${1:-none}
 ARCHIVE_FOR_DISTRIBUTION=1
 ##Which version name are we appending to the final archive
 
-export BUILD_NAME=15.02.1
+
+file="./Cura/version"
+while IFS= read -r line
+do
+    export BUILD_NAME="$line"
+done <"$file"
 TARGET_DIR=Cura-${BUILD_NAME}-${BUILD_TARGET}
 
 ##Revision