Issue #175: Create release assets with and without version number for easy access

This commit is contained in:
Wandmalfarbe 2020-06-14 20:15:14 +02:00
parent 948150d172
commit 4a2adb0b49

View File

@ -2,5 +2,11 @@
rm -rf "dist" rm -rf "dist"
mkdir "dist" mkdir "dist"
# create .zip files
zip -r -X --exclude="*.DS_Store*" "dist/Eisvogel-${1}.zip" "examples" "eisvogel.tex" "icon.png" "LICENSE" "README.md" "CHANGELOG.md" zip -r -X --exclude="*.DS_Store*" "dist/Eisvogel-${1}.zip" "examples" "eisvogel.tex" "icon.png" "LICENSE" "README.md" "CHANGELOG.md"
cp "dist/Eisvogel-${1}.zip" "dist/Eisvogel.zip"
# create .tar.gz files
tar --exclude="*.DS_Store*" --include="examples" --include="eisvogel.tex" --include="icon.png" --include="LICENSE" --include="README.md" --include="CHANGELOG.md" -zcvf "dist/Eisvogel-${1}.tar.gz" * tar --exclude="*.DS_Store*" --include="examples" --include="eisvogel.tex" --include="icon.png" --include="LICENSE" --include="README.md" --include="CHANGELOG.md" -zcvf "dist/Eisvogel-${1}.tar.gz" *
cp "dist/Eisvogel-${1}.tar.gz" "dist/Eisvogel.tar.gz"