Commit c6795c6
ci: restore version bumping via craft preReleaseCommand (#5261)
* ci: restore version bumping via preReleaseCommand
#skip-changelog
Craft 2.26.6's built-in nuget auto-bumper looks for the `dotnet-setversion`
CLI and, when not found, falls back to a "manual edit" heuristic that does
not recognize `Directory.Build.props`. It downgrades the failure to a warn
and lets prepare continue, so the `release: 6.6.0` commit only updated
CHANGELOG.md and the resulting nupkg files were named `*.6.5.0.nupkg`.
The repo's own scripts/bump-version.sh already rewrites <VersionPrefix>
correctly. Wire it back in via craft's preReleaseCommand, as the warning
in the prepare log recommends.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* chore: fix typo (convension -> convention) in bump-version.sh
#skip-changelog
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent 4a85500 commit c6795c6
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
0 commit comments