diff --git a/.github/workflows/preview-publish.yml b/.github/workflows/preview-publish.yml index 5dfa1d9..444a504 100644 --- a/.github/workflows/preview-publish.yml +++ b/.github/workflows/preview-publish.yml @@ -71,5 +71,4 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_NUXT_TOKEN }} run: | echo "Publishing preview release ${{ env.version }}" - # Use semantic-release or another tool to publish the preview version - npx semantic-release --no-ci --branches main --tag-format "v${{ env.version }}" + npx semantic-release --no-ci --branches main --tag-format "v${{version}}-pr-${{ github.event.pull_request.number }}-$(git rev-parse --short HEAD)"