mirror of https://github.com/astral-sh/uv
Move `bump.sh` to `scripts/release.sh` (#2787)
I find this more discoverable and since we're putting files in the top-level `scripts/` folder now this seems okay.
This commit is contained in:
parent
4c3e5f0f7d
commit
4838c4da0a
|
|
@ -120,7 +120,7 @@ Releases can only be performed by Astral team members.
|
||||||
Changelog entries and version bumps are automated. First, run:
|
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.
|
Then, editorialize the `CHANGELOG.md` file to ensure entries are consistently styled.
|
||||||
|
|
|
||||||
|
|
@ -2,12 +2,14 @@
|
||||||
# Prepare for a release
|
# Prepare for a release
|
||||||
#
|
#
|
||||||
# All additional options are passed to `rooster`
|
# All additional options are passed to `rooster`
|
||||||
|
#
|
||||||
|
# See `scripts/release` for
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
script_root="$(realpath "$(dirname "$0")")"
|
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..."
|
echo "Setting up a temporary environment..."
|
||||||
uv venv
|
uv venv
|
||||||
|
|
||||||
Loading…
Reference in New Issue