From 92d7dd5099701391ea902384f944de00384cedc1 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 30 Jun 2020 19:29:03 -0500 Subject: [PATCH] Add a small helper to create release ZIPs that include built plugins. --- .gitignore | 1 + src/archive_release.sh | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 src/archive_release.sh diff --git a/.gitignore b/.gitignore index 5f31ef7..2ab4102 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.pyc scripts/zMayaTools/qt_generated plug-ins/bin +/zMayaTools-*.zip diff --git a/src/archive_release.sh b/src/archive_release.sh new file mode 100644 index 0000000..3de5ff1 --- /dev/null +++ b/src/archive_release.sh @@ -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 +