aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-11-21 11:48:33 +0100
committerThierry Reding <treding@nvidia.com>2014-11-21 11:48:33 +0100
commitd9e8b451d95b3abaad44925696d1dfeb1f8f5cc8 (patch)
tree38c12a47f4c315ae9e5a712bee378547648030ec
parent0d8b3a14435c68f3540c8749eb59e0108dcac06b (diff)
downloadmaint-scripts-d9e8b451d95b3abaad44925696d1dfeb1f8f5cc8.tar.gz
Add script to help automate tag creation
This script help with creating tags from the branch list using existing conventions. Signed-off-by: Thierry Reding <treding@nvidia.com>
-rwxr-xr-xtag-linux-tegra.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/tag-linux-tegra.sh b/tag-linux-tegra.sh
new file mode 100755
index 0000000..c43e2b5
--- /dev/null
+++ b/tag-linux-tegra.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+set -e
+set -x
+
+. "${0%/*}/tegra-branches.sh.dot"
+
+for branch in ${branches}; do
+ tag=tegra-${branch/\//-}
+
+ git tag -s $tag $branch
+done