Skip to content

Commit

Permalink
fix: checkout code for version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed Oct 14, 2021
1 parent 7d8c434 commit 6c4e696
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ jobs:
name: NPM Version
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
id: release-drafter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up code
uses: actions/checkout@v2

- name: Update semantic version
run: |
npm version ${{ steps.release-drafter.outputs.tag_name }} -m "release: %s"
npm version $(gh release view --json tagName --jq ".tagName") -m "release: %s"
git push --follow-tags
macos:
name: Draft Release
Expand Down

0 comments on commit 6c4e696

Please sign in to comment.