ISIS-1521: update to script

Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/4cc914bb
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/4cc914bb
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/4cc914bb

Branch: refs/heads/master
Commit: 4cc914bb11c7a1c747aa5e878f16599cf9fc95f7
Parents: d3ef50a
Author: Dan Haywood <d...@haywood-associates.co.uk>
Authored: Sun Aug 6 19:38:57 2017 +0100
Committer: Dan Haywood <d...@haywood-associates.co.uk>
Committed: Sun Aug 6 19:38:57 2017 +0100

----------------------------------------------------------------------
 scripts/clean-up-tags-local.sh | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/4cc914bb/scripts/clean-up-tags-local.sh
----------------------------------------------------------------------
diff --git a/scripts/clean-up-tags-local.sh b/scripts/clean-up-tags-local.sh
index bf2b504..5fee4de 100644
--- a/scripts/clean-up-tags-local.sh
+++ b/scripts/clean-up-tags-local.sh
@@ -1,3 +1,8 @@
+for a in `git tag --list | grep origin`
+do
+    git tag -d $a
+done
+
 for a in `git tag --list | grep upstream`
 do
     git tag -d $a
@@ -8,6 +13,11 @@ do
     git tag -d $a
 done
 
+for a in `git tag --list | grep ^todo`
+do
+    git tag -d $a
+done
+
 for a in `git tag --list | grep ^quickstart`
 do
     git tag -d $a

Reply via email to