Skip to content

Commit 2d985a2

Browse files
committed
package: Normalize branches
1 parent 06992e0 commit 2d985a2

3 files changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ jobs:
3333
3434
- name: Semantic Release
3535
uses: cycjimmy/semantic-release-action@v6
36-
with:
37-
branches: |
38-
[
39-
'v+([0-9])?.+([0-9]).+([0-9])',
40-
]
4136
env:
4237
GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
4338
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.releaserc

Lines changed: 0 additions & 3 deletions
This file was deleted.

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
"react": ">=16.8.0",
3232
"react-dom": ">=16.8.0"
3333
},
34+
"release": {
35+
"branches": [
36+
"v+([0-9]).+([0-9]).+([0-9])"
37+
]
38+
},
3439
"devDependencies": {
3540
"@babel/core": "^7.14.8",
3641
"@babel/plugin-transform-modules-commonjs": "^7.2.0",

0 commit comments

Comments
 (0)