diff options
author | Vincent Ambo <tazjin@google.com> | 2020-02-21T23·35+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-02-21T23·35+0000 |
commit | 5faa737ead86e6faa5f0e3729d935c4d22e3dc17 (patch) | |
tree | 6f1c2fb13abfaa093d23f20fcd64d736fc0eee05 /ops/besadii | |
parent | 0c117fe8f4c27e9a3cc132cd2643c714206c457b (diff) |
fix(ops/besadii): Remove branch tag after checking for it r/574
... oops. The problem with working on besadii is that testing it always lags one commit behind.
Diffstat (limited to 'ops/besadii')
-rw-r--r-- | ops/besadii/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ops/besadii/main.go b/ops/besadii/main.go index bf0e707cb693..72bba769f5d6 100644 --- a/ops/besadii/main.go +++ b/ops/besadii/main.go @@ -151,10 +151,11 @@ func parseRefUpdates() ([]refUpdate, error) { update := refUpdate{ old: fragments[0], new: fragments[1], - name: strings.TrimPrefix(fragments[2], branchPrefix), + name: fragments[2], } if strings.HasPrefix(update.name, branchPrefix) && update.new != deletedBranch { + update.name = strings.TrimPrefix(update.name, branchPrefix) updates = append(updates, update) } } |