Repository navigation
docs: use a placeholder version in the release procedure - #8
Conversation
The procedure hard-coded v1.2.0, which is now a real tag, so copying the commands verbatim for the next release fails with 'fatal: tag already exists' instead of tagging the version chosen in step 2. Set VERSION once and use it in the tag, push and release commands, and note that the example is v1.2.1 because v1.2.0 already exists.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 23 minutes. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🟢 Approval recommended
The documentation now consistently uses the selected version and matches the release workflow.
0 open findings
What changed in this PR
Updates the release documentation to avoid reusing an existing version tag.
Changes:
- Defines a reusable
VERSIONvariable. - Uses it consistently for tagging, pushing, and creating the release.
- Updates example image tags to
v1.2.1.
| File | Description |
|---|---|
README.md |
Makes release commands reusable for future versions. |
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
Summary
PR #7's release procedure hard-codes
v1.2.0, but that tag now exists, so the commands fail for the next release withfatal: tag already existsinstead of tagging the version picked in step 2.Set
VERSIONonce and use it in the tag, push and release commands. The example usesv1.2.1becausev1.2.0already exists.Resolves the Copilot review comment on #7.
Test plan
git tag -l v1.2.0shows the tag exists, confirming the old command failedgit tag -l v1.2.1is empty, so the new example is validgit tag "$VERSION" origin/mainsucceeds,git tag v1.2.0fails as warnedv1.2.0left in the procedure commands (only an explicit warning and the existing-tag list)