Skip to content

Commit 4aea5ca

Browse files
committed
fix release workflow
1 parent e192dd1 commit 4aea5ca

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/onPushToMain.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
package_name="$(node -p "require('./package.json').name")"
2424
package_version="$(node -p "require('./package.json').version")"
2525
26+
echo "tag=v${package_version}" >>"${GITHUB_OUTPUT}"
27+
2628
gh_exists="$(gh api \
2729
"repos/${{ github.repository }}/releases/tags/v${package_version}" \
2830
>/dev/null 2>&1 && echo 'true' || echo '')"

0 commit comments

Comments
 (0)