Skip to content

chore(release): increment devN counter after releases - #355

Merged
wpbonelli merged 2 commits into
MODFLOW-ORG:developfrom
wpbonelli:post-release
Sep 9, 2026
Merged

chore(release): increment devN counter after releases #355
wpbonelli merged 2 commits into
MODFLOW-ORG:developfrom
wpbonelli:post-release

Conversation

@wpbonelli

Copy link
Copy Markdown
Member

This is what flopy has done for some time now. The N counts how many patch releases have been made on the current minor version series. It's a bit unconventional (with setuptools_scm etc the N counts commits since the last tag) but it at least makes version.txt different after each release, which is better than nothing IMO.

wpbonelli and others added 2 commits September 9, 2026 13:36
Port flopy's post-release version scheme: the development segment counter
is set to the patch number of the version just released instead of always
being reset to dev0. e.g. after 1.9.2 comes 1.10.0.dev2, after 1.11.0
comes 1.12.0.dev0. The counter marks how many releases into the series
development has resumed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014v2ecPwSZui4d9pGGuLApL
@wpbonelli wpbonelli added this to the 1.10.0 milestone Sep 9, 2026
@wpbonelli
wpbonelli marked this pull request as ready for review September 9, 2026 20:33
@wpbonelli
wpbonelli merged commit 966fd47 into MODFLOW-ORG:develop Sep 9, 2026
27 of 31 checks passed
@wpbonelli
wpbonelli deleted the post-release branch September 9, 2026 20:34
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.

1 participant