uv/scripts/release.sh
Zanie Blue ab2880f389
Upgrade to the latest rooster version (#15749)
For all my latest bells and whistles...

It's not published yet since it has breaking changes, so we're using the
commit. (This is what ty does)
2025-09-10 14:34:43 -05:00

18 lines
481 B
Bash
Executable file

#!/usr/bin/env bash
# Prepare for a release
#
# All additional options are passed to `rooster`
set -eu
script_root="$(realpath "$(dirname "$0")")"
project_root="$(dirname "$script_root")"
echo "Updating metadata with rooster..."
cd "$project_root"
# Update the changelog
uv tool run --from 'rooster-blue @ git+https://github.com/zanieb/rooster@c24ea11bf3cfea89d6f8c782462cac4313e5e0d6' --python 3.12 -- \
rooster release "$@"
echo "Updating lockfile..."
cargo update -p uv