Tweak version-bumping scripts

This commit is contained in:
Max Brunsfeld 2022-10-27 12:00:45 -07:00
parent 7db176a763
commit 9e55051811
6 changed files with 37 additions and 53 deletions

18
script/bump-zed-patch-version Executable file
View file

@ -0,0 +1,18 @@
#!/bin/bash
channel=$(cat crates/zed/RELEASE_CHANNEL)
tag_suffix=""
case $channel in
stable)
;;
preview)
tag_suffix="-pre"
;;
*)
echo "this must be run on a stable or preview release branch" >&2
exit 1
;;
esac
exec script/lib/bump-version.sh zed v $tag_suffix patch