Skip to content

Commit

Permalink
fix: publish
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel authored and gabotechs committed Jun 16, 2022
1 parent 449b7eb commit 45be5f0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
token: ${{ secrets.ACCESS_TOKEN }}
persist-credentials: false
- name: Install and Build 🔧
run: |
Expand All @@ -26,9 +25,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Commit version
run: |
git config --global user.email $(git --no-pager show -s --format='%ae' HEAD)
git config --global user.name $(git --no-pager show -s --format='%an' HEAD)
npm version ${{ steps.deploy.outputs.version }} -m "[skip ci] bump version"
git push origin master
- run: git config --global user.email $(git --no-pager show -s --format='%ae' HEAD)
- run: git config --global user.name $(git --no-pager show -s --format='%an' HEAD)
- run: |
npm version ${{ steps.deploy.outputs.version }} --no-git-tag-version
git add package.json
git commit -m "[skip ci] bump version"
git push

0 comments on commit 45be5f0

Please sign in to comment.