diff --git a/.gitignore b/.gitignore index 4dc8175..06a6a10 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,9 @@ # contains all sorts of unfinished changes -tests +private + +# build folder +dist # # macOS.gitignore diff --git a/examples/build.sh b/examples/build-examples.sh similarity index 100% rename from examples/build.sh rename to examples/build-examples.sh diff --git a/tools/release.sh b/tools/release.sh index 978eb77..a882554 100644 --- a/tools/release.sh +++ b/tools/release.sh @@ -1,3 +1,6 @@ #!/bin/bash -zip -r -X --exclude="*.DS_Store*" "Eisvogel-${1}.zip" "examples" "eisvogel.tex" "icon.png" "LICENSE" "README.md" \ No newline at end of file +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" * \ No newline at end of file