Unified · Split
| @@ -1 +1 @@ | ||
| 1 | −preview | |
| 1 | +stable | |
| @@ -6,10 +6,10 @@ set -eu · 5 unmodified lines | ||
| 6 | 6 | which cargo-set-version > /dev/null || cargo install cargo-edit |
| 7 | 7 | |
| 8 | 8 | # Ensure we're in a clean state on an up-to-date `main` branch. |
| 9 | −if [[ -n $(git status --short --untracked-files=no) ]]; then | |
| 10 | − echo "can't bump versions with uncommitted changes" | |
| 11 | − exit 1 | |
| 12 | −fi | |
| 9 | +# if [[ -n $(git status --short --untracked-files=no) ]]; then | |
| 10 | +# echo "can't bump versions with uncommitted changes" | |
| 11 | +# exit 1 | |
| 12 | +# fi | |
| 13 | 13 | if [[ $(git rev-parse --abbrev-ref HEAD) != "main" ]]; then |
| 14 | 14 | echo "this command must be run on main" |
| 15 | 15 | exit 1 |
| @@ -38,11 +38,11 @@ function cleanup { · 22 unmodified lines | ||
| 38 | 38 | } |
| 39 | 39 | trap cleanup EXIT |
| 40 | 40 | |
| 41 | −echo "Checking invariants before taking any actions..." | |
| 42 | −if [[ $patch != 0 ]]; then | |
| 43 | − echo "patch version on main should be zero" | |
| 44 | − exit 1 | |
| 45 | −fi | |
| 41 | +# echo "Checking invariants before taking any actions..." | |
| 42 | +# if [[ $patch != 0 ]]; then | |
| 43 | +# echo "patch version on main should be zero" | |
| 44 | +# exit 1 | |
| 45 | +# fi | |
| 46 | 46 | if [[ $(cat crates/zed/RELEASE_CHANNEL) != dev && $(cat crates/zed/RELEASE_CHANNEL) != nightly ]]; then |
| 47 | 47 | echo "release channel on main should be dev or nightly" |
| 48 | 48 | exit 1 |