Skip to content

Commit

Permalink
Fix semver parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
julianhille committed Feb 17, 2021
1 parent 915c215 commit 942be21
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ jobs:
name: bindings
if-no-files-found: error
publish:
needs: [build-musl]
needs: [build-musl, build-electron, build-node]
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
Expand All @@ -217,7 +217,7 @@ jobs:
uses: booxmedialtd/ws-action-parse-semver@v1
with:
input_string: ${{ github.ref }}
version_extractor_regex: '\/v(.*)$'
version_extractor_regex: 'tags\/(.*)$'
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -237,4 +237,3 @@ jobs:
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}

0 comments on commit 942be21

Please sign in to comment.