mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-27 00:12:27 +03:00
22 lines
360 B
Bash
Executable File
22 lines
360 B
Bash
Executable File
#!/bin/bash
|
|
|
|
channel=$(cat crates/zed/RELEASE_CHANNEL)
|
|
|
|
tag_suffix=""
|
|
case $channel in
|
|
stable)
|
|
;;
|
|
preview)
|
|
tag_suffix="-pre"
|
|
;;
|
|
nightly)
|
|
tag_suffix="-nightly"
|
|
;;
|
|
*)
|
|
echo "this must be run on either of stable|preview|nightly release branches" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
exec script/lib/bump-version.sh zed v "$tag_suffix" patch
|