mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-07 13:15:06 +00:00

See https://github.com/astral-sh/uv/pull/3764 --------- Co-authored-by: T-256 <132141463+T-256@users.noreply.github.com>
24 lines
585 B
Bash
Executable file
24 lines
585 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"
|
|
uv tool run --from 'rooster-blue>=0.0.7' --python 3.12 --isolated -- \
|
|
rooster release "$@"
|
|
|
|
echo "Updating lockfile..."
|
|
cargo update -p ruff
|
|
|
|
echo "Generating contributors list..."
|
|
echo ""
|
|
echo ""
|
|
uv tool run --from 'rooster-blue>=0.0.7' --python 3.12 --isolated -- \
|
|
rooster contributors --quiet
|