mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-27 12:54:42 +00:00
Fetch release branches before bumping zed minor versions
This commit is contained in:
parent
335db5d03d
commit
9355d501bc
1 changed files with 4 additions and 2 deletions
|
@ -15,8 +15,6 @@ if [[ $(git rev-parse --abbrev-ref HEAD) != "main" ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
git pull -q --ff-only origin main
|
git pull -q --ff-only origin main
|
||||||
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)
|
||||||
|
@ -31,6 +29,10 @@ prev_minor_branch_name="v${major}.${prev_minor}.x"
|
||||||
next_minor_branch_name="v${major}.${next_minor}.x"
|
next_minor_branch_name="v${major}.${next_minor}.x"
|
||||||
preview_tag_name="v${major}.${minor}.${patch}-pre"
|
preview_tag_name="v${major}.${minor}.${patch}-pre"
|
||||||
|
|
||||||
|
git fetch origin ${prev_minor_branch_name}:${prev_minor_branch_name}
|
||||||
|
git fetch origin --tags
|
||||||
|
cargo check -q
|
||||||
|
|
||||||
function cleanup {
|
function cleanup {
|
||||||
git checkout -q main
|
git checkout -q main
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue