History

v0.122.x stable

Joseph T. Lyons committed 2 years agov0.122.2

Commit a1c5d021 parent 98d7c842 files · +10 −10Browse files

Unified · Split

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