Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornickthetait <tait@alephobjects.com>2015-06-08 20:30:17 +0300
committernickthetait <tait@alephobjects.com>2015-06-08 20:30:17 +0300
commit983ef658a7177d67846a2f3ed29c3efabe00b257 (patch)
treebd2bc9e7a8c910e285e395f2270a4acbf1b2f24c
parent218ec487fae9fcddb6f5bca56828c5d2f0b246bd (diff)
Build script now uses version file.
-rwxr-xr-xpackage.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/package.sh b/package.sh
index fb5b7df5ef..247ddd8470 100755
--- a/package.sh
+++ b/package.sh
@@ -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