Files
uv/scripts/release.sh
T

16 lines
365 B
Bash
Raw Normal View History

2024-02-22 16:00:13 -06:00
#!/usr/bin/env bash
# Prepare for a release
#
2024-02-22 16:00:13 -06:00
# All additional options are passed to `rooster`
set -eu
script_root="$(realpath "$(dirname "$0")")"
2024-04-02 18:25:27 -05:00
project_root="$(dirname "$script_root")"
2024-02-22 16:00:13 -06:00
echo "Updating metadata with rooster..."
cd "$project_root"
2024-05-22 17:31:13 -04:00
uv tool run --from rooster-blue --isolated -- rooster release "$@"
2024-02-22 16:00:13 -06:00
echo "Updating lockfile..."
cargo update -p uv