Automate versioning and releases with semantic versioning and manual trigger support#131
Merged
Merged
Conversation
Co-authored-by: ghandic <23500353+ghandic@users.noreply.github.com>
Co-authored-by: ghandic <23500353+ghandic@users.noreply.github.com>
Co-authored-by: ghandic <23500353+ghandic@users.noreply.github.com>
Co-authored-by: ghandic <23500353+ghandic@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Enhance versioning for automated release process
Automate versioning and releases on merge to main with semantic versioning
Jan 13, 2026
Removed Python version 3.14 from the CI matrix. Signed-off-by: Andy Challis <andrewchallis@hotmail.co.uk>
Owner
|
@copilot I just want to be able to accept a PR on mobile and then run a release but I need to determine the release version not the person raising the PR |
Co-authored-by: ghandic <23500353+ghandic@users.noreply.github.com>
Co-authored-by: ghandic <23500353+ghandic@users.noreply.github.com>
Contributor
Author
Added manual release trigger! You can now:
The workflow now supports
Changes in commit
You control the version, not the PR author. ✅ |
Copilot
AI
changed the title
Automate versioning and releases on merge to main with semantic versioning
Automate versioning and releases with semantic versioning and manual trigger support
Jan 14, 2026
Signed-off-by: Andy Challis <andrewchallis@hotmail.co.uk>
Signed-off-by: Andy Challis <andrewchallis@hotmail.co.uk>
ghandic
approved these changes
Jan 14, 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.
Manual version management and release creation slows down the CI pipeline. This implements automated semantic versioning triggered on merge to
main, with additional support for manual release triggering with maintainer-controlled versioning.Changes
Automated Release Workflow
feat:→ minor,fix:→ patch,BREAKING CHANGE:/feat!:→ majorjsf/BUILDversion, commits with[skip ci], creates GitHub release with changelogManual Release Trigger
workflow_dispatchtrigger for manual release creation1.2.3) or select bump type (major,minor,patch,auto)Python Version Matrix
[skip ci]condition to prevent redundant builds on version bumpsDocumentation
Implementation Details
Version bump logic with validation:
Manual version input with validation:
Portable grep patterns (no
-Pflag), version format validation, proper escaping in sed, comprehensive error handling throughout.Mobile Workflow
The workflow handles version updates, commits, and triggers PyPI/docs deployment automatically.
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.