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:39:01 +0300
committernickthetait <tait@alephobjects.com>2015-06-08 20:39:01 +0300
commitc9117e6b42a910378353e01f5dbf2750e384c7c8 (patch)
treeae7bb4f186563e60dec083266b39324c75a584d4
parent2244443656555bcbba40568dc289e963bc08a7f4 (diff)
Build script uses new revision file. Increment version.
-rw-r--r--Cura/revision1
-rwxr-xr-xpackage.sh11
2 files changed, 9 insertions, 3 deletions
diff --git a/Cura/revision b/Cura/revision
new file mode 100644
index 0000000000..101047359b
--- /dev/null
+++ b/Cura/revision
@@ -0,0 +1 @@
+1.02
diff --git a/package.sh b/package.sh
index 247ddd8470..39ed43abbe 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)