Skip to content

Conversation

@Saadnajmi
Copy link
Collaborator

Summary:

One part of our publish process we have not yet automated is setting the v0.xx-stable and next tags when a new release is promoted or demoted. Let's automate this by specifying additional tags in our CI that should be set when we publish a release. Now, a new latest or patch to latest will also always set is 0.xx-stable tag.

Note: Previously, if 0.xx was tagged as latest, we would not have had a v0.xx-stable tag. Now we will always have both latest and the 0.xx-stable tag.

Test Plan:

I duplicated this change to #2800 and #2801 . We can look at the dry run output for both to make sure release is behaving as expected.

@Saadnajmi Saadnajmi requested a review from a team as a code owner January 14, 2026 20:44
Comment on lines +398 to +407
// Output additional tags as pipeline/workflow variable
if (additionalTags.length > 0) {
const tagsValue = additionalTags.join(",");
// Azure Pipelines
console.log(`##vso[task.setvariable variable=additionalTags]${tagsValue}`);
// GitHub Actions
if (process.env["GITHUB_OUTPUT"]) {
fs.appendFileSync(process.env["GITHUB_OUTPUT"], `additionalTags=${tagsValue}\n`);
}
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This script is no longer a "check" now that we're also using it's output. But also, it's been more than a check for a while. Maybe we rename it? @tido64 fyi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant