From: nickthetait Date: Mon, 8 Jun 2015 17:39:01 +0000 (-0600) Subject: Build script uses new revision file. Increment version. X-Git-Tag: lulzbot-15.02.1-1.02~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=c9117e6b42a910378353e01f5dbf2750e384c7c8;p=cura.git Build script uses new revision file. Increment version. --- diff --git a/Cura/revision b/Cura/revision new file mode 100644 index 00000000..10104735 --- /dev/null +++ b/Cura/revision @@ -0,0 +1 @@ +1.02 diff --git a/package.sh b/package.sh index 247ddd84..39ed43ab 100755 --- a/package.sh +++ b/package.sh @@ -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)