bump-app-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 *)
13 echo "do this on a release branch where RELEASE_CHANNEL is either 'preview' or 'stable'" >&2
14 exit 1
15 ;;
16esac
17
18exec script/lib/bump-version.sh zed v $tag_suffix $@