Browse Source

Try setting the variable

tags/3.1.0
Mike Koch 2 years ago
parent
commit
7213f77254
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      ci/build_zip.sh

+ 5
- 5
ci/build_zip.sh View File

@@ -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…
Cancel
Save