Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

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

Conrad Irwincfce6a8fbff9
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bdae692f27c..bed52955ad2 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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
diff --git a/script/determine-release-channel b/script/determine-release-channel
index ae49fbf1e5d..e66ad4a6c13 100755
--- a/script/determine-release-channel
+++ b/script/determine-release-channel
@@ -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