summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2022-04-30 11:33:00 +0200
committerDaniel Stenberg <daniel@haxx.se>2022-04-30 11:33:00 +0200
commit0107967387f13a4c4b31bfc6b0fad8ed5a474132 (patch)
tree6b8075d29a81758e204d80096ad22b00b0ade1e3 /scripts
parent2e2767a378ae407412adb883cca52b95f667a103 (diff)
downloadcurl-0107967387f13a4c4b31bfc6b0fad8ed5a474132.tar.gz
scripts/cijobs.pl: try "current branch" first then "master"
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cijobs.pl3
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);