dx(rest-docs): Use stable branch if it exists#8121
Merged
alexronquillo merged 8 commits intomainfrom Mar 5, 2026
Merged
Conversation
24c81fb to
e1cd691
Compare
korthout
previously approved these changes
Mar 3, 2026
Member
korthout
left a comment
There was a problem hiding this comment.
👍 Nice work @alexronquillo
🔧 Please have a look at my comments before merging.
| | awk '{print $2}' \ | ||
| | sed 's#refs/tags/##' \ | ||
| | grep -E '^[0-9]+\.[0-9]+\.[0-9]+$' \ | ||
| | sort -V \ |
Member
There was a problem hiding this comment.
👍 Nice! I checked whether sort also works with cases like 8.10.0, but it works correctly.
Contributor
Author
|
Updated per review |
mesellings
approved these changes
Mar 3, 2026
Collaborator
mesellings
left a comment
There was a problem hiding this comment.
Lgtm, would be interested to see if @jwulf had any input before we merge it however?
Collaborator
|
@alexronquillo feel free to merge if we don't hear from @jwulf by EOD tomorrow so we don't block @korthout for too long, we can always follow up with any comments etc if needed 👍 |
bd632c2 to
5a0d2d3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
During development of a minor release, updates are going into the
camundarepo'smainbranch, so we need to usemainduring this time to keep the docs up to date with the alpha releases. However, toward the end of the dev cycle for the minor version, engineering cuts a stable version branchstable/8.xand starts including code for the next version inmain. At this point, we need to stop usingmainand switch to the stable branch until the minor version ships. After that, we need to switch back to usingmain.In this PR, we added some code that does the following:
camundabranch for the next minor (stable/8.9)mainTesting
Used stable branch when tested against 8.9 ✅
https://github.com/camunda/camunda-docs/actions/runs/22615986169/job/65528871080
Used main when tested against 8.10 ✅
https://github.com/camunda/camunda-docs/actions/runs/22616567338/job/65530819477
When should this change go live?
bugorsupportlabel)available & undocumentedlabel)holdlabel)low priolabel)PR Checklist
{type}(scope): {description}commit message(s)/docsdirectory (version 8.9)./versioned_docsdirectory.@camunda/tech-writersunless working with an embedded writer.