zed/script/bump-zed-patch-version

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
308 B
Text
Raw Normal View History

2022-10-27 19:00:45 +00:00
#!/bin/bash
channel=$(cat crates/zed/RELEASE_CHANNEL)
tag_suffix=""
case $channel in
stable)
;;
preview)
tag_suffix="-pre"
;;
*)
echo "this must be run on either of stable|preview release branches" >&2
2022-10-27 19:00:45 +00:00
exit 1
;;
esac
exec script/lib/bump-version.sh zed v "$tag_suffix" patch