Files
uv/scripts/release/bump.sh
T

28 lines
546 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")")"
project_root="$(dirname "$(dirname "$script_root")")"
cd "$script_root"
echo "Setting up a temporary environment..."
uv venv
source ".venv/bin/activate"
uv pip install -r requirements.txt
echo "Updating metadata with rooster..."
cd "$project_root"
rooster release "$@"
echo "Updating lockfile..."
cargo check
2024-02-22 16:00:13 -06:00
echo "Generating contributors list..."
echo ""
echo ""
rooster contributors --quiet