bump-zed-patch-version
1#!/bin/bash
2
3channel=$(cat crates/zed/RELEASE_CHANNEL)
4
5tag_suffix=""
6case $channel in
7 stable)
8 ;;
9 preview)
10 tag_suffix="-pre"
11 ;;
12 nightly)
13 tag_suffix="-nightly"
14 ;;
15 *)
16 echo "this must be run on either of stable|preview|nightly release branches" >&2
17 exit 1
18 ;;
19esac
20
21exec script/lib/bump-version.sh zed v "$tag_suffix" patch