Skip to content

Commit 86c1070

Browse files
authored
Update release.yml
1 parent 9fc8e02 commit 86c1070

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,12 @@ jobs:
6767
6868
- name: Generate release description
6969
run: |
70+
export checksum=${{ steps.hash.outputs.sha256 }}
71+
export download_url=${{ steps.tag.outputs.download_url }}
7072
71-
yq -i '.plugins[0].wasm.url = \"$DOWNLOAD_URL\"' .github/release_output_template.yaml
72-
yq -i '.plugins[0].wasm.sha256 = \"$SHA256\"' .github/release_output_template.yaml
73+
74+
yq -i '.plugins[0].wasm.url = env(download_url)' .github/release_output_template.yaml
75+
yq -i '.plugins[0].wasm.sha256 = env(checksum)' .github/release_output_template.yaml
7376
7477
# Create the release body with the warning message at the top
7578
echo "> [!WARNING]" > release_body.md

0 commit comments

Comments
 (0)