Skip to content

Add version input parameter to release workflow with auto-deduction fallback#218

Merged
timosachsenberg merged 2 commits intomasterfrom
copilot/update-release-autowrap-yaml
Nov 29, 2025
Merged

Add version input parameter to release workflow with auto-deduction fallback#218
timosachsenberg merged 2 commits intomasterfrom
copilot/update-release-autowrap-yaml

Conversation

Copy link
Contributor

Copilot AI commented Nov 29, 2025

The release workflow required manual version updates to autowrap/version.py before triggering. This adds the ability to specify the release version as a workflow input, with automatic deduction from the source file as fallback.

Changes

  • New version input: Optional parameter to specify release version directly when triggering workflow
  • Auto-deduction: When empty, reads version from autowrap/version.py
  • Version file sync: When version is specified, updates version.py before build so package metadata matches
  • Input validation: Both version and next_version are validated against ^[0-9]+\.[0-9]+\.[0-9]+$
  • Cleanup: Removed obsolete "please make sure version numbers are updated" comment

Workflow inputs

Input Description
version Version to release (empty = use version from autowrap/version.py)
next_version Next development version (empty = minor bump from release version)
Original prompt

update the release-autowrap.yaml to allow entering the version number (or ideally deducing from files in this repo)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 29, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Co-authored-by: timosachsenberg <5803621+timosachsenberg@users.noreply.github.com>
Copilot AI changed the title [WIP] Update release-autowrap.yaml to allow version input Add version input parameter to release workflow with auto-deduction fallback Nov 29, 2025
@timosachsenberg timosachsenberg marked this pull request as ready for review November 29, 2025 12:09
@timosachsenberg timosachsenberg merged commit 53d4844 into master Nov 29, 2025
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants