mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-26 02:37:05 +00:00
19 lines
299 B
Text
19 lines
299 B
Text
|
#!/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
|