ruff/scripts/release.sh
Dylan b9b5755368
Upgrade to the latest rooster version and include contributors in CHANGELOG (#20472)
What it says on the tin!

Manually tested the release script and it appears to produce the right
thing.
2025-09-18 13:43:39 -05:00

18 lines
397 B
Bash
Executable file

#!/usr/bin/env bash
# Prepare for a release
#
# All additional options are passed to `rooster release`
set -eu
export UV_PREVIEW=1
script_root="$(realpath "$(dirname "$0")")"
project_root="$(dirname "$script_root")"
echo "Updating metadata with rooster..."
cd "$project_root"
uvx --python 3.12 --isolated -- \
rooster@0.0.10a1 release "$@"
echo "Updating lockfile..."
cargo update -p ruff