Files
uv/scripts/release.sh
T

19 lines
407 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-06-11 19:16:29 -04:00
2024-08-20 11:47:46 -05:00
# Update the changelog
2024-07-30 18:40:38 -04:00
uv tool run --from 'rooster-blue>=0.0.7' --python 3.12 -- \
2024-08-20 11:47:46 -05:00
rooster release "$@"
2024-02-22 16:00:13 -06:00
echo "Updating lockfile..."
cargo update -p uv