mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
Add changelog for preview changes (#4251)
I tweaked rooster to allow sections to be overridden from the CLI so we can generate a separate preview changelog See https://github.com/zanieb/rooster/pull/43 for the rooster changes needed I tested `./scripts/release.sh` as well.
This commit is contained in:
parent
44592681a0
commit
daee30aeb1
3 changed files with 170 additions and 2 deletions
|
@ -9,7 +9,17 @@ project_root="$(dirname "$script_root")"
|
|||
|
||||
echo "Updating metadata with rooster..."
|
||||
cd "$project_root"
|
||||
uv tool run --from rooster-blue --isolated -- rooster release "$@"
|
||||
|
||||
# Update the preview changelog
|
||||
uv tool run --from 'rooster-blue>=0.0.7' --isolated -- \
|
||||
rooster release "$@" \
|
||||
--only-sections preview \
|
||||
--changelog-file CHANGELOG-PREVIEW.md \
|
||||
--no-update-pyproject --no-update-version-files
|
||||
|
||||
# Update the real changelog
|
||||
uv tool run --from 'rooster-blue>=0.0.7' --isolated -- \
|
||||
rooster release "$@" --without-sections preview
|
||||
|
||||
echo "Updating lockfile..."
|
||||
cargo update -p uv
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue