mirror of
https://github.com/Wandmalfarbe/pandoc-latex-template.git
synced 2024-12-21 23:27:48 +00:00
Issue #175: Create release assets with and without version number for easy access
This commit is contained in:
parent
948150d172
commit
4a2adb0b49
@ -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"
|
Loading…
Reference in New Issue
Block a user