From 7213f77254ddbfee8b3e57413e1075077ce9de84 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Sun, 25 Jun 2017 21:03:12 -0400 Subject: [PATCH] Try setting the variable --- ci/build_zip.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ci/build_zip.sh b/ci/build_zip.sh index 936b9f50..6133554a 100644 --- a/ci/build_zip.sh +++ b/ci/build_zip.sh @@ -1,11 +1,11 @@ #!/bin/bash cd ../ -mkdir release-temp -TARGETDIR='release-temp';for file in *;do test "$file" != "$TARGETDIR" && cp -r "$file" "$TARGETDIR/";done +mkdir $VERSION_NUMBER +TARGETDIR=$VERSION_NUMBER;for file in *;do test "$file" != "$TARGETDIR" && cp -r "$file" "$TARGETDIR/";done # Remove files that we don't want to bundle -cd release-temp +cd $VERSION_NUMBER rm -rf ci #rm .gitignore #rm .gitlab-ci.yml @@ -14,5 +14,5 @@ rm apidoc.json rm CONTRIBUTING.md cd ../ -zip -r release.zip release-temp -rm -rf release-temp \ No newline at end of file +zip -r release.zip $VERSION_NUMBER +rm -rf $VERSION_NUMBER \ No newline at end of file