MarkdownResume-Pipeline/tools/release.sh
Charles N Wyble 10aab78498 Squashed 'vendor/git.knownelement.com/ExternalVendorCode/pandoc-latex-template/' content from commit 24a8c00
git-subtree-dir: vendor/git.knownelement.com/ExternalVendorCode/pandoc-latex-template
git-subtree-split: 24a8c009368843605c212159ad8449476db87d20
2024-12-09 12:37:41 -06:00

16 lines
578 B
Bash

#!/bin/bash
rm -rf "dist"
mkdir "dist"
cp "eisvogel.tex" "eisvogel.latex"
# create .zip files
zip -r -X --exclude="*.DS_Store*" "dist/Eisvogel-${1}.zip" "examples" "eisvogel.latex" "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.latex" --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"
rm "eisvogel.latex"