Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion buildkite/bazelci.py
Original file line number Diff line number Diff line change
Expand Up @@ -1545,7 +1545,7 @@ def get_release_name_from_branch_name():
if os.getenv("BUILDKITE_PIPELINE_SLUG") == "publish-bazel-binaries":
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to pass the label here for the publish-bazel-binaries pipeline, which publish last_green on every commit. maybe removing this if check is enough.

return None
res = re.match(r"release-(\d+\.\d+\.\d+(rc\d+)?).*", os.getenv("BUILDKITE_BRANCH"))
return res.group(1) if res else None
return res.group(1) if res else "dev version - " + os.getenv("BUILDKITE_COMMIT")


def is_pull_request():
Expand Down