uv/scripts/release.sh
2025-09-25 09:11:04 -05:00

17 lines
367 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
uvx --python 3.12 rooster@0.1.0 release "$@"
echo "Updating lockfile..."
cargo update -p uv