You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ask vote-passed for both versions instead of taking one positionally
`vote-passed <old_version>` published the version resolved from the tag and
deleted the version given as the argument. Two versions, one of them positional,
and the argument is the one that gets deleted - so `vote-passed 9.7.0` while
releasing 9.7.0 reads as "release 9.7.0" and instead promotes it into
dist/release and immediately svn rm's it.
Take no arguments. Ask for each version with a label saying what will happen to
it, offer a detected default, and refuse when the two are equal. Passing an
argument is now an error pointing at RELEASE_VERSION / OLD_VERSION, so existing
muscle memory fails loudly rather than doing something different.
The release-version default also stops sorting by version number. Releases are
not monotonic: a 9.6.1 patch cut from the 9.6.0 line after 9.7.0 has shipped is
newer in time but lower in version, and the old ordering would have offered the
already-released 9.7.0. Order by tag creation date instead - maven-release-plugin
writes annotated tags, so that timestamp belongs to the tag and survives fetches.
The old-version default now comes from dist/release, which is the only place that
actually knows what this release replaces, with the version being released
filtered out so re-running after a partial failure cannot offer to delete it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
After the vote passes, run `vote-passed` which executes:
111
124
1.**promote** — move packages from `dist/dev` to `dist/release` in Apache SVN (prompts for SVN credentials), then release the Nexus staging repository at https://repository.apache.org and update the website download page
112
125
2.**github-release** — publish the GitHub Release for the tag, using `changes/changes-x.y.z.md` as its notes
0 commit comments