mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-26 19:44:04 +03:00
16 lines
371 B
Plaintext
16 lines
371 B
Plaintext
|
#!/bin/bash
|
||
|
set -euo pipefail
|
||
|
|
||
|
which gh >/dev/null || brew install gh
|
||
|
|
||
|
if [ "$1" == "nightly" ]; then
|
||
|
./script/bump-nightly
|
||
|
exit
|
||
|
fi
|
||
|
|
||
|
version=$(./script/get-released-version "$1" | sed 's/\.[^\.]*$/.x/')
|
||
|
echo "Bumping $1 (v$version)"
|
||
|
|
||
|
gh workflow run "bump_patch_version.yml" -f branch="v$version"
|
||
|
echo "Follow along at: https://github.com/zed-industries/zed/actions"
|