Enable immutable releases via automated version tag management #12
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.
Closes: #[issue_number]
Implements automated release versioning to enable immutable version references. When a release is published, creates both specific semantic version tags (v1.0.0) and updates major version tags (v1) automatically.
Changes
.github/workflows/publish.yml: Workflow using git commands to manage version tags on release publish events. Extracts major version from semver tags and automatically creates/updates major version tags to point to the latest release. Includescontents: writepermission for tag creation.README.md: Documents versioning options with examples:@v1.0.0- immutable specific version@v1- latest within major version (recommended)@main- development branch (not recommended for production)The implementation uses a production-ready, git-based approach that is widely adopted by popular GitHub Actions, ensuring reliability and maintainability.
Users can now pin to stable versions instead of tracking
@main.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.