Conversation
- release-lts.yml: auto-create release/ branch + branch protection on -lts tag - release-create.yml: add LTS label to release notes - release-docker.yml: tag Docker image with :lts for LTS releases Usage: git tag v2026.3.2201-lts && git push origin v2026.3.2201-lts → creates release/2026.3 branch, Docker :lts tag, LTS release notes Patch: git cherry-pick <fix> on release/2026.3 git tag v2026.3.2201-lts.1 && git push origin v2026.3.2201-lts.1
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
LTS tags should be v2026.3-lts (month), not v2026.3.2201-lts (day+hour). Patches: v2026.3-lts.1, v2026.3-lts.2, etc. Branch: release/2026.3
cargo xtask release now offers a 4th option: 4) lts -> YYYY.M-lts (e.g. 2026.3-lts) LTS releases use month-level version, skip Dev.to article, and CI auto-creates release/YYYY.M branch on tag push.
LTS versions now use patch numbering: v2026.3.0-lts → initial LTS, creates release/2026.3 v2026.3.1-lts → patch 1 v2026.3.2-lts → patch 2 xtask release auto-increments the patch number based on existing tags.
Usage on a release/ branch: git checkout release/2026.3 git cherry-pick <fix> cargo xtask release --lts-patch Auto-detects series from branch name, increments patch number, syncs Cargo.toml version, tags, and pushes.
Prints version, tag, type, and branch info without making any changes. Skips all preflight checks (dirty worktree, branch) for quick testing. Works with both regular releases and --lts-patch.
- npm: publish with --tag lts (not latest) for LTS releases - PyPI: convert -lts to .post0 for PEP 440 compliance - crates.io: -lts is valid semver pre-release, no change needed - Desktop: assets attach to the release, no tag conflict
PEP 440 has no LTS concept. Strip -lts suffix so v2026.3.0-lts publishes as 2026.3.0 on PyPI. Users pin LTS via ==2026.3.*
Deploying librefang-docs with
|
| Latest commit: |
7b0ba49
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0a8cfb35.librefang-docs-web.pages.dev |
| Branch Preview URL: | https://feat-lts-support.librefang-docs-web.pages.dev |
Deploying librefang with
|
| Latest commit: |
7b0ba49
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1b8c46bb.librefang.pages.dev |
| Branch Preview URL: | https://feat-lts-support.librefang.pages.dev |
This was referenced Mar 23, 2026
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.
Summary
YYYY.M.PATCH-lts)release-lts.yml: auto-createrelease/branch + branch protection on.0-ltstagrelease-docker.yml: tag Docker image with:ltsrelease-create.yml: add LTS label to release notesxtask release: option 4 for LTS,--lts-patchfor patches,--dry-runfor testingVersion scheme
Usage
Create initial LTS:
cargo xtask release # choose 4) lts -> 2026.3.0-ltsPatch an LTS:
Dry run:
cargo xtask release --dry-run --version "2026.3.0-lts"Test plan
--dry-runprints correct info without changes--lts-patchrejects non-release branches.0-ltstag → verify branch creation:ltstag applied