Potentially fix invocation of draft-release-notes (#20265)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-11-05 21:46:05 -07:00 committed by GitHub
parent 803e5d4c9f
commit cfce6a8fbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -260,7 +260,7 @@ jobs:
run: |
mkdir -p target/
# Ignore any errors that occur while drafting release notes to not fail the build.
script/draft-release-notes "$version" "$channel" > target/release-notes.md || true
script/draft-release-notes "$RELEASE_VERSION" "$RELEASE_CHANNEL" > target/release-notes.md || true
- name: Generate license file
run: script/generate-licenses

View file

@ -15,6 +15,7 @@ version=$(script/get-crate-version zed)
channel=$(cat crates/zed/RELEASE_CHANNEL)
echo "Publishing version: ${version} on release channel ${channel}"
echo "RELEASE_CHANNEL=${channel}" >> $GITHUB_ENV
echo "RELEASE_VERSION="${version}" >> $GITHUB_ENV
expected_tag_name=""
case ${channel} in