Skip to content

Commit 461ca18

Browse files
authored
Refactor release workflow
Updated GitHub Release step
1 parent 833a8be commit 461ca18

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
export GOARCH=wasm
3030
go build -o main.wasm .
3131
32-
# Wasm_exec.js is currently bundled. Later we will use the copied handler
32+
# Wasm_exec.js is currently bundled
3333
# - name: Copy wasm_exec.js next to the wasm
3434
# run: |
3535
# cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" zebrash/wasm_exec.js#
@@ -63,13 +63,13 @@ jobs:
6363
run: |
6464
RELEASE_VERSION="${GITHUB_REF_NAME#v}"
6565
ZEBRASH_VERSION=$(awk '/^module[[:space:]]+/ {print $2; exit}' zebrash/go.mod)
66-
67-
# Export para pasos siguientes
6866
echo "release_version=$RELEASE_VERSION" >> "$GITHUB_OUTPUT"
6967
echo "zebrash_version=$ZEBRASH_VERSION" >> "$GITHUB_OUTPUT"
7068
echo "release_title=${RELEASE_VERSION} | Z: ${ZEBRASH_VERSION}" >> "$GITHUB_OUTPUT"
7169
72-
- name: Create GitHub Release (auto notes, no artifacts)
70+
- name: Create GitHub Release
71+
env:
72+
GH_TOKEN: ${{ github.token }}
7373
run: |
7474
gh release create "${GITHUB_REF_NAME}" \
7575
--verify-tag \

0 commit comments

Comments
 (0)