From a2a2ed240b1d7e4d89e28aafd451ec3e76bb59d7 Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Fri, 6 Nov 2009 16:10:58 -0600 Subject: [PATCH] Added script to zip up the addon --- make-zip.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 make-zip.sh diff --git a/make-zip.sh b/make-zip.sh new file mode 100755 index 0000000..69b24e3 --- /dev/null +++ b/make-zip.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +VERSION="`grep '^## Version: ' WeightsWatcher.toc | sed -e 's/.* //'`" + +## Debug code +# echo "'$VERSION'" +# exit + +cd .. && 7z a -tzip -xr!'.git*' -xr!'Todo*' -xr!'*~' -xr-!'WeightsWatcher/goals' -xr-!'WeightsWatcher/future-features' -xr-!'WeightsWatcher/wowhead values' -xr-!'WeightsWatcher/make-zip.sh' -mx=9 WeightsWatcher-$VERSION.zip WeightsWatcher/ -- 1.7.9.5