Fix errors in bump-zed-minor-versions script
Co-authored-by: Joseph Lyons <joseph@zed.dev>
This commit is contained in:
parent
3caa7a4916
commit
c9ba41d002
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,7 @@ if [[ $(git rev-parse --abbrev-ref HEAD) != "main" ]]; then
|
||||||
fi
|
fi
|
||||||
git pull -q --ff-only origin main
|
git pull -q --ff-only origin main
|
||||||
git fetch --tags
|
git fetch --tags
|
||||||
|
cargo check -q
|
||||||
|
|
||||||
# Parse the current version
|
# Parse the current version
|
||||||
version=$(script/get-crate-version zed)
|
version=$(script/get-crate-version zed)
|
||||||
|
@ -75,6 +76,7 @@ git commit -q --all --message "${prev_minor_branch_name} stable"
|
||||||
git tag ${stable_tag_name}
|
git tag ${stable_tag_name}
|
||||||
|
|
||||||
echo "Creating new preview branch ${minor_branch_name}..."
|
echo "Creating new preview branch ${minor_branch_name}..."
|
||||||
|
git checkout -q main
|
||||||
git checkout -q -b ${minor_branch_name}
|
git checkout -q -b ${minor_branch_name}
|
||||||
echo -n preview > crates/zed/RELEASE_CHANNEL
|
echo -n preview > crates/zed/RELEASE_CHANNEL
|
||||||
git commit -q --all --message "${minor_branch_name} preview"
|
git commit -q --all --message "${minor_branch_name} preview"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue