Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
###### | ||
# This script is useful only for committers to the upstream github repo. | ||
###### | ||
|
||
for tag in `git tag`; do | ||
git tag -d $tag | ||
done | ||
|
||
for sha in `git log --oneline | grep step- | cut -d ' ' -f 1`; do | ||
tag=`git log $sha...$sha~1 --oneline | cut -d ' ' -f 2` | ||
echo Creating tag $tag for $sha | ||
git tag $tag $sha | ||
done |