Skip to content

Commit b70e6b7

Browse files
author
Victor Navarro
committed
fix: bad version regex
1 parent 3807516 commit b70e6b7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ on:
44
types: [published]
55

66
jobs:
7-
ci:
7+
publish:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v2
1111
- run: yarn install
1212
- uses: ./
1313
with:
14-
version-regexp: 'v\d'
14+
version-regexp: '\d'
1515
repo-token: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "action-update-version",
3-
"version": "v1",
3+
"version": "0",
44
"description": "Update your files version field on new releases",
55
"main": "lib/main.js",
66
"scripts": {
@@ -64,4 +64,4 @@
6464
"yarn lint"
6565
]
6666
}
67-
}
67+
}

0 commit comments

Comments
 (0)