diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2022-12-04 20:28:28 +0100 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2022-12-04 21:13:46 +0100 |
commit | d48f38c30f7c3d8458d86fec238b5153f78df297 (patch) | |
tree | 3ab72add170fbf7c752e73e85509aea6742f14a9 /scripts/env | |
parent | 26f35c40b624600b07292951c0ced58db500ce66 (diff) | |
download | upstream-d48f38c30f7c3d8458d86fec238b5153f78df297.tar.gz upstream-d48f38c30f7c3d8458d86fec238b5153f78df297.tar.bz2 upstream-d48f38c30f7c3d8458d86fec238b5153f78df297.zip |
CI: fix matching for openwrt release branch for container selection
The current match logic doesn't handle test for push events related to
stable release (example openwrt-22.03) but only fork with the related
prefix (example openwrt-22.03-fixup)
Fix wrong matching and while at it also add extra checks to other
matching (check if the branch name actually start with the requested
prefix)
Fixes: abe8a4824210 ("CI: build: add support for per branch tools container")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 65c3d19c4b28ccac0d08d916de0ffa4c0e7b3dc2)
Diffstat (limited to 'scripts/env')
0 files changed, 0 insertions, 0 deletions