projects
/
arvados-dev.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac0a281
)
We need a `git pull` after switching to the master branch, to make sure we see
author
Ward Vandewege <ward@curii.com>
Wed, 19 Aug 2020 23:43:27 +0000
(19:43 -0400)
committer
Ward Vandewege <ward@curii.com>
Wed, 19 Aug 2020 23:43:27 +0000
(19:43 -0400)
the complete lists of branches.
No issue #
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>
jenkins/run-delete-merged-branches.sh
patch
|
blob
|
history
diff --git
a/jenkins/run-delete-merged-branches.sh
b/jenkins/run-delete-merged-branches.sh
index 361d9bb4a20fe50e6af171b9c521573eb0b54c22..c2ecacb92201e809d5b221de59d189b73ee4bd1e 100755
(executable)
--- a/
jenkins/run-delete-merged-branches.sh
+++ b/
jenkins/run-delete-merged-branches.sh
@@
-24,6
+24,7
@@
branches_to_keep="master|main|integration|dev|staging|.*\-dev"
git remote update --prune
git checkout master
+git pull
git branch --remote --merged | \
egrep -v "/(${branches_to_keep})\$" | \