Skip to content

Commit

Permalink
Don't run git or tag on prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
EmandM committed May 15, 2024
1 parent 96e8e56 commit 59af793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
if [[ ${{ inputs.prerelease }} ]]; then
new_version=$(npm version --preid=rc pre${{ inputs.semver_type }})
new_version=$(npm version ${{ inputs.semver_type }} --no-commit-hooks --no-git-tag-version )
else
new_version=$(npm version ${{ inputs.semver_type }} )
fi
Expand Down

0 comments on commit 59af793

Please sign in to comment.