Try setting the variable
This commit is contained in:
parent
46b3a54369
commit
7213f77254
@ -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
|
||||
zip -r release.zip $VERSION_NUMBER
|
||||
rm -rf $VERSION_NUMBER
|
Loading…
x
Reference in New Issue
Block a user