summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir@cohens.org.il>2010-07-01 11:31:09 +0300
committerTzafrir Cohen <tzafrir@cohens.org.il>2010-07-01 11:31:09 +0300
commit5e778837590eee6c1a5e0260832b934611aabeda (patch)
treefad3a8a73db98ed95ca2364244750d7cae295ff1
parent078a1d45050b0e996f758e32b8eac45dbd5c6165 (diff)
Also pick up the names of branches for octapi
-rwxr-xr-xupdate_tags2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_tags b/update_tags
index 78675ee..25bc143 100755
--- a/update_tags
+++ b/update_tags
@@ -1,6 +1,6 @@
#!/bin/sh
-git branch -r | grep 'tags/[0-9]' | sed -e 's"tags/\(.*\)"& v\1"' \
+git branch -r | egrep 'tags/(|PR)[0-9]' | sed -e 's"tags/\(.*\)"& v\1"' \
| while read branch tag; do
if [ ! -r .git/refs/tags/$tag ]; then
echo "tagging $tag from $branch"