zed/script/bump-zed-patch-version

22 lines
360 B
Plaintext
Raw Normal View History

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