Commit e48931a
fix(gitops-commands): parse branch vs tag by 'tag:'
Use strings.Contains(..., "tag:") instead of "tag" when deciding
between tag and branch in /retest comment parsing. Branch names like
akurlov/ROX-32966-test-tagged-rebuild were mis-parsed as tag, leaving
branchName empty and causing 'SHA is not the HEAD of master' on commit
comments.
SRVKP-10915
Signed-off-by: Shubham Mathur <shumathu@redhat.com>1 parent a227d9f commit e48931a
2 files changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
336 | 343 | | |
337 | 344 | | |
338 | 345 | | |
| |||
0 commit comments