diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7685e99..3f59a09 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,8 @@ jobs: VERSION: ${{ steps.release.outputs.version }} run: | if [[ "$VERSION" == *-* ]]; then - echo "tag=$(node -p \"process.env.VERSION.split('-')[1].split('.')[0]\")" >> "$GITHUB_OUTPUT" + tag="$(node -p 'process.env.VERSION.split("-")[1].split(".")[0]')" + echo "tag=$tag" >> "$GITHUB_OUTPUT" else echo "tag=latest" >> "$GITHUB_OUTPUT" fi