From: Daniel Stenberg Date: Sat, 30 Apr 2022 09:33:00 +0000 (+0200) Subject: scripts/cijobs.pl: try "current branch" first then "master" X-Git-Tag: curl-7_83_1~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0107967387f13a4c4b31bfc6b0fad8ed5a474132;p=thirdparty%2Fcurl.git scripts/cijobs.pl: try "current branch" first then "master" --- diff --git a/scripts/cijobs.pl b/scripts/cijobs.pl index 38189d75ab..3242c31a7d 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);