Try setting the variable

remotes/remote_mirror_8/master
Mike Koch 7 years ago
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…
Cancel
Save