You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
335 B
Bash
16 lines
335 B
Bash
#!/bin/bash
|
|
|
|
cd ../
|
|
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 $VERSION_NUMBER
|
|
rm -rf ci
|
|
rm -rf .git
|
|
rm apidoc.json
|
|
rm CONTRIBUTING.md
|
|
|
|
cd ../
|
|
zip -r release.zip $VERSION_NUMBER
|
|
rm -rf $VERSION_NUMBER |