Files
uv/scripts/release.sh
T

19 lines
481 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
uv tool run --from 'rooster-blue @ git+https://github.com/zanieb/rooster@c24ea11bf3cfea89d6f8c782462cac4313e5e0d6' --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