Skip to content

Commit

Permalink
retag.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMinar committed Nov 13, 2012
1 parent 40bf549 commit f1463f8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions scripts/retag.sh
@@ -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

0 comments on commit f1463f8

Please sign in to comment.