Skip to content

Commit

Permalink
fix(custom): fix preview workflow error
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur-arch committed Nov 27, 2024
1 parent d02c52e commit f90829f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/preview-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"

0 comments on commit f90829f

Please sign in to comment.