Skip to content

Commit

Permalink
fixed ci-cd publishing older version
Browse files Browse the repository at this point in the history
  • Loading branch information
undergroundwires committed Jul 17, 2020
1 parent 2bbb364 commit 666151e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: master # otherwise it defaults to the version tag missing bump commit
fetch-depth: 0 # fetch all history
- name: Checkout to bump commit
run: git checkout "$(git rev-list "${{ github.event.release.tag_name }}"..master | tail -1)"
- uses: actions/setup-node@v1
with:
node-version: 14.x
Expand Down

0 comments on commit 666151e

Please sign in to comment.