Skip to content

Commit

Permalink
Improve release publication job
Browse files Browse the repository at this point in the history
We update the configuration to improve the job.
  • Loading branch information
nkuba committed Apr 22, 2022
1 parent 879ddaf commit 89cfd67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ jobs:
# the one stored in package.json.
- name: Publish release package
if: github.event_name == 'release'
run: yarn publish --non-interactive --message "Release v%s [skip ci]" --tag "latest"
run: yarn publish --non-interactive --message "Release v%s [skip ci]" --tag "latest" --no-git-tag-version
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Push git commit
if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request' && github.event_name == 'release'
run: git push

0 comments on commit 89cfd67

Please sign in to comment.