2018-12-07 19:32:51 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-03-10 19:56:15 +00:00
|
|
|
rm -rf "dist"
|
|
|
|
mkdir "dist"
|
2020-06-14 18:15:14 +00:00
|
|
|
|
|
|
|
# create .zip files
|
2019-06-12 21:21:44 +00:00
|
|
|
zip -r -X --exclude="*.DS_Store*" "dist/Eisvogel-${1}.zip" "examples" "eisvogel.tex" "icon.png" "LICENSE" "README.md" "CHANGELOG.md"
|
2020-06-14 18:15:14 +00:00
|
|
|
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" *
|
|
|
|
cp "dist/Eisvogel-${1}.tar.gz" "dist/Eisvogel.tar.gz"
|