diff options
author | nickthetait <tait@alephobjects.com> | 2015-06-08 20:30:17 +0300 |
---|---|---|
committer | nickthetait <tait@alephobjects.com> | 2015-06-08 20:30:17 +0300 |
commit | 983ef658a7177d67846a2f3ed29c3efabe00b257 (patch) | |
tree | bd2bc9e7a8c910e285e395f2270a4acbf1b2f24c | |
parent | 218ec487fae9fcddb6f5bca56828c5d2f0b246bd (diff) |
Build script now uses version file.
-rwxr-xr-x | package.sh | 7 |
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 |