diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-04-30 11:33:00 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-04-30 11:33:00 +0200 |
commit | 0107967387f13a4c4b31bfc6b0fad8ed5a474132 (patch) | |
tree | 6b8075d29a81758e204d80096ad22b00b0ade1e3 /scripts | |
parent | 2e2767a378ae407412adb883cca52b95f667a103 (diff) | |
download | curl-0107967387f13a4c4b31bfc6b0fad8ed5a474132.tar.gz |
scripts/cijobs.pl: try "current branch" first then "master"
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/cijobs.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/cijobs.pl b/scripts/cijobs.pl index 38189d75a..3242c31a7 100755 --- a/scripts/cijobs.pl +++ b/scripts/cijobs.pl @@ -495,7 +495,8 @@ sub zuul { return $c; } -my $tag = "origin/master"; +my $tag = `git rev-parse --abbrev-ref HEAD 2>/dev/null` || "master"; +chomp $tag; githubactions($tag); azurepipelines($tag); appveyor($tag); |