Skip to content

Commit

Permalink
fix: bad version regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Navarro committed Sep 1, 2020
1 parent 3807516 commit b70e6b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on:
types: [published]

jobs:
ci:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: yarn install
- uses: ./
with:
version-regexp: 'v\d'
version-regexp: '\d'
repo-token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "action-update-version",
"version": "v1",
"version": "0",
"description": "Update your files version field on new releases",
"main": "lib/main.js",
"scripts": {
Expand Down Expand Up @@ -64,4 +64,4 @@
"yarn lint"
]
}
}
}

0 comments on commit b70e6b7

Please sign in to comment.