Changed the release script to also create a tar.gz archive. Renamed the build script for the examples to build-examples.sh. Changed the gitignore.

This commit is contained in:
Wandmalfarbe 2019-03-10 20:56:15 +01:00
parent 782cea088d
commit 5df6bc5acd
3 changed files with 8 additions and 2 deletions

5
.gitignore vendored
View File

@ -1,6 +1,9 @@
# contains all sorts of unfinished changes
tests
private
# build folder
dist
#
# macOS.gitignore

View File

@ -1,3 +1,6 @@
#!/bin/bash
zip -r -X --exclude="*.DS_Store*" "Eisvogel-${1}.zip" "examples" "eisvogel.tex" "icon.png" "LICENSE" "README.md"
rm -rf "dist"
mkdir "dist"
zip -r -X --exclude="*.DS_Store*" "dist/Eisvogel-${1}.zip" "examples" "eisvogel.tex" "icon.png" "LICENSE" "README.md"
tar --exclude="*.DS_Store*" --include="examples" --include="eisvogel.tex" --include="icon.png" --include="LICENSE" --include="README.md" -zcvf "dist/Eisvogel-${1}.tar.gz" *