From 0107967387f13a4c4b31bfc6b0fad8ed5a474132 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 30 Apr 2022 11:33:00 +0200 Subject: scripts/cijobs.pl: try "current branch" first then "master" --- scripts/cijobs.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/cijobs.pl') 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); -- cgit v1.2.1