From f90829f1b84f3db945039c288f34ac67d01e74b4 Mon Sep 17 00:00:00 2001 From: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> Date: Wed, 27 Nov 2024 09:55:08 +0600 Subject: [PATCH] fix(custom): fix preview workflow error --- .github/workflows/preview-publish.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)"