Skip to content

Commit

Permalink
Remove '-nightly' suffix from nightly build version number
Browse files Browse the repository at this point in the history
It breaks our semver parsing, and the release channel is already 'nightly'.
  • Loading branch information
maxbrunsfeld committed Dec 8, 2023
1 parent 808a062 commit f9d569f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9d569f

Please sign in to comment.