We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee5f95c commit 913c7bcCopy full SHA for 913c7bc
build.sh
@@ -18,12 +18,16 @@ else
18
fi
19
echo "done"
20
21
-echo "Add Version"
22
-git tag | sort | tail -n 1 > dist/funscript-editor/funscript_editor/VERSION.txt
+echo -n "Get Version ... "
+tag="$(git tag | sort | tail -n 1)"
23
+echo "$tag"
24
+
25
+echo "Add Version to buld files"
26
+echo "$tag" > dist/funscript-editor/funscript_editor/VERSION.txt
27
28
echo "Copy Application Documentation"
29
mkdir -p dist/funscript-editor/funscript_editor/docs/
30
cp -rf docs/app/site/ dist/funscript-editor/funscript_editor/docs/
31
32
echo "Create Archive"
-tar -zcvf dist/funscript-editor.tar.gz dist/funscript-editor
33
+tar -zcvf dist/funscript-editor-${tag}.tar.gz dist/funscript-editor
0 commit comments