Remove '-nightly' suffix from nightly build version number

It breaks our semver parsing, and the release channel is already 'nightly'.
This commit is contained in:
Max Brunsfeld 2023-12-07 16:51:53 -08:00
parent 808a0626c0
commit f9d569f1b8

View File

@ -81,12 +81,11 @@ jobs:
- name: Limit target directory size
run: script/clear-target-dir-if-larger-than 100
- name: Set release channel to nightly, add nightly prefix to the final version
- name: Set release channel to nightly
run: |
set -eu
version=$(git rev-parse --short HEAD)
echo "Publishing version: ${version} on release channel nightly"
sed -i '' "s/version = \"\(.*\)\"/version = \"\1-nightly\"/" crates/zed2/Cargo.toml
echo "nightly" > crates/zed/RELEASE_CHANNEL
- name: Generate license file