diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1e568d1c6..d620e22e5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -120,7 +120,7 @@ Releases can only be performed by Astral team members. Changelog entries and version bumps are automated. First, run: ``` -./scripts/release/bump.sh +./scripts/release.sh ``` Then, editorialize the `CHANGELOG.md` file to ensure entries are consistently styled. diff --git a/scripts/release/bump.sh b/scripts/release.sh similarity index 83% rename from scripts/release/bump.sh rename to scripts/release.sh index 00a81d10b..6bb3b75b8 100755 --- a/scripts/release/bump.sh +++ b/scripts/release.sh @@ -2,12 +2,14 @@ # Prepare for a release # # All additional options are passed to `rooster` +# +# See `scripts/release` for set -eu script_root="$(realpath "$(dirname "$0")")" -project_root="$(dirname "$(dirname "$script_root")")" +project_root="$(dirname "$script_root")" -cd "$script_root" +cd "$script_root/release" echo "Setting up a temporary environment..." uv venv