From: nickthetait Date: Mon, 8 Jun 2015 17:30:17 +0000 (-0600) Subject: Build script now uses version file. X-Git-Tag: lulzbot-15.02.1-1.02~5 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=983ef658a7177d67846a2f3ed29c3efabe00b257;p=cura.git Build script now uses version file. --- diff --git a/package.sh b/package.sh index fb5b7df5..247ddd84 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