aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtag.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tag.sh b/tag.sh
index 04a8826..59f8560 100755
--- a/tag.sh
+++ b/tag.sh
@@ -9,7 +9,11 @@ if [ "$1" = "" ]; then
exit 1
fi
-for i in $modules; do
+if [ "$tag_modules" = "" ]; then
+ tag_modules="$modules"
+fi
+
+for i in $tag_modules; do
echo "tag $i" 1>&2
cd $i
git tag -a $1 -m "Tag version $1"