aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-02-02 19:50:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-02-02 19:50:56 +0200
commitbf3ebb41333cef376cdeeff610a2097db7831a0e (patch)
treeb5e5f80cc31b47ba2578f8dbc4fd51f3b7f0aaf1
parent6cc8dc1fcfe0e4662c0eb5734c65d9e07a957892 (diff)
Add support for tag_modules subset in tag.sh
-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"