bump-zed-patch-version
 1#!/usr/bin/env 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  *)
13    echo "this must be run on either of stable|preview release branches" >&2
14    exit 1
15    ;;
16esac
17
18exec script/lib/bump-version.sh zed v "$tag_suffix" patch