Skip to content

Commit

Permalink
Add a small helper to create release ZIPs that include built plugins.
Browse files Browse the repository at this point in the history
  • Loading branch information
zewt committed Jul 1, 2020
1 parent a62cafc commit 92d7dd5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.pyc
scripts/zMayaTools/qt_generated
plug-ins/bin
/zMayaTools-*.zip
7 changes: 7 additions & 0 deletions src/archive_release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/bash
VERSION=`git describe --tags --dirty`
OUTPUT=$VERSION.zip
git archive HEAD -o $OUTPUT
zip -r $OUTPUT plug-ins/bin
echo Wrote: $OUTPUT

0 comments on commit 92d7dd5

Please sign in to comment.