We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bc4fb6 commit cb0a9eeCopy full SHA for cb0a9ee
.buildkite/sign_and_publish.yml.py
@@ -6,6 +6,7 @@
6
import argparse
7
import json
8
import os
9
+import re
10
11
def parse_args() -> argparse.Namespace:
12
parser = argparse.ArgumentParser()
@@ -19,7 +20,7 @@ def main():
19
20
# This only gets triggered when the branch is either main or 7.\d or 8.\d
21
# So, dry_run is true for non main branch
22
branch = os.getenv("BUILDKITE_BRANCH")
- dry_run = branch != "main"
23
+ dry_run = not (branch == "main" or branch == "8.x" or re.match(r"^[78]\.\d+$", branch))
24
pipeline = {}
25
steps = [
26
{
0 commit comments