mirror of
https://github.com/Wandmalfarbe/pandoc-latex-template.git
synced 2024-12-23 16:12:23 +00:00
12 lines
517 B
Bash
12 lines
517 B
Bash
#!/bin/bash
|
|
|
|
rm -rf "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"
|
|
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" |