25'ten fazla konu seçemezsiniz
Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
18 satır
369 B
Bash
18 satır
369 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 .gitignore
|
|
#rm .gitlab-ci.yml
|
|
rm -rf .git
|
|
rm apidoc.json
|
|
rm CONTRIBUTING.md
|
|
|
|
cd ../
|
|
zip -r release.zip $VERSION_NUMBER
|
|
rm -rf $VERSION_NUMBER |