Skip to content

Commit

Permalink
Merge pull request #15 from keep-network/update-publish-job
Browse files Browse the repository at this point in the history
Improve release publication job
  • Loading branch information
nkuba authored Apr 22, 2022
2 parents 879ddaf + 89cfd67 commit bbde5f4
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 bbde5f4

Please sign in to comment.