mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
c4e446f8a8
Add `./script/trigger-release {nightly|stable|preview}` This command can be run regardless of the state of your local git repository, and it either triggers a workflow run of `bump_patch_version.yml` (for stable/preview) or it force pushes the nightly tag. Also add some docs on releases to explain all of this. Release Notes: - N/A
16 lines
371 B
Bash
Executable File
16 lines
371 B
Bash
Executable File
#!/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"
|