Try setting the variable
This commit is contained in:
parent
46b3a54369
commit
7213f77254
@ -1,11 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cd ../
|
cd ../
|
||||||
mkdir release-temp
|
mkdir $VERSION_NUMBER
|
||||||
TARGETDIR='release-temp';for file in *;do test "$file" != "$TARGETDIR" && cp -r "$file" "$TARGETDIR/";done
|
TARGETDIR=$VERSION_NUMBER;for file in *;do test "$file" != "$TARGETDIR" && cp -r "$file" "$TARGETDIR/";done
|
||||||
|
|
||||||
# Remove files that we don't want to bundle
|
# Remove files that we don't want to bundle
|
||||||
cd release-temp
|
cd $VERSION_NUMBER
|
||||||
rm -rf ci
|
rm -rf ci
|
||||||
#rm .gitignore
|
#rm .gitignore
|
||||||
#rm .gitlab-ci.yml
|
#rm .gitlab-ci.yml
|
||||||
@ -14,5 +14,5 @@ rm apidoc.json
|
|||||||
rm CONTRIBUTING.md
|
rm CONTRIBUTING.md
|
||||||
|
|
||||||
cd ../
|
cd ../
|
||||||
zip -r release.zip release-temp
|
zip -r release.zip $VERSION_NUMBER
|
||||||
rm -rf release-temp
|
rm -rf $VERSION_NUMBER
|
Loading…
x
Reference in New Issue
Block a user