diff options
author | Thierry Reding <treding@nvidia.com> | 2014-11-21 11:48:33 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-11-21 11:48:33 +0100 |
commit | d9e8b451d95b3abaad44925696d1dfeb1f8f5cc8 (patch) | |
tree | 38c12a47f4c315ae9e5a712bee378547648030ec | |
parent | 0d8b3a14435c68f3540c8749eb59e0108dcac06b (diff) | |
download | maint-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-x | tag-linux-tegra.sh | 12 |
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 |