Skip to content

chore: use PEP 440 .dev0 versions on main after releases#2032

Merged
mnriem merged 2 commits intogithub:mainfrom
mnriem:chore/dev-version-bump
Mar 31, 2026
Merged

chore: use PEP 440 .dev0 versions on main after releases#2032
mnriem merged 2 commits intogithub:mainfrom
mnriem:chore/dev-version-bump

Conversation

@mnriem
Copy link
Copy Markdown
Collaborator

@mnriem mnriem commented Mar 31, 2026

After a release, main showed the same version as the published release (e.g. 0.4.3), which confused users installing from main via uv — they couldn't tell they had a development build.

Changes

  • Release-trigger workflow: adds a second commit on the release branch bumping pyproject.toml to X.Y.(Z+1).dev0 before the PR is opened. The git tag still points at the release commit. PR title and summary updated to reflect the dev version.
  • pyproject.toml: set current version to 0.4.4.dev0 so main is immediately correct.
  • README.md: replaced broken release workflow badge with a shields.io release version badge that dynamically shows the latest release tag.

Result

  • uv tool install specify-cli --from git+https://github.com/github/spec-kit.git0.4.4.dev0 (clearly a dev build)
  • uv tool install specify-cli --from git+https://github.com/github/spec-kit.git@v0.4.30.4.3 (stable release)

- Release-trigger workflow now adds a dev bump commit (X.Y.(Z+1).dev0)
  on the release branch after tagging, so main gets the dev version
  when the PR merges. The tag still points at the release commit.
- Set current pyproject.toml to 0.4.4.dev0.
- Replace broken release workflow badge with shields.io release badge.
Copilot AI review requested due to automatic review settings March 31, 2026 13:34
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the post-release versioning flow so main carries a PEP 440 development version (.dev0) after a release, avoiding confusion for users installing directly from main.

Changes:

  • Bumps pyproject.toml on main to 0.4.4.dev0.
  • Enhances the release-trigger workflow to add a second commit on the release branch that bumps to X.Y.(Z+1).dev0 before opening the PR.
  • Replaces the README release workflow badge with a shields.io “latest release” badge.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
README.md Swaps the release workflow badge for a latest-release badge.
pyproject.toml Sets the project version to 0.4.4.dev0 on main.
.github/workflows/release-trigger.yml Adds an automated “bump to next dev version” commit and updates PR title/body/summary accordingly.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 31, 2026 14:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mnriem mnriem merged commit 40ecd44 into github:main Mar 31, 2026
12 checks passed
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