Skip to content

Commit 0013c9d

Browse files
committed
fix(release): create a release every time there are new changes on master
1 parent d1bda72 commit 0013c9d

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

.github/workflows/performance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Performance
33
on:
44
push:
55
branches:
6-
- develop
6+
- master
77
paths:
88
- 'src/**'
99
- 'performance/**'

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- master
66
jobs:
77
release:
8+
if: "startsWith(github.event.head_commit.message, 'ci(release): ts auto mock new version') != true"
89
runs-on: ubuntu-latest
910
strategy:
1011
matrix:

.github/workflows/test.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@ name: Test
33
on:
44
push:
55
branches:
6-
- develop
76
- master
87
pull_request:
9-
branches-ignore:
10-
- master
118

129
jobs:
1310
test:

.releaserc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"package-lock.json",
7575
"CHANGELOG.md"
7676
],
77-
"message": "ci(release): new version ${nextRelease.version}"
77+
"message": "ci(release): ts auto mock new version ${nextRelease.version}"
7878
}
7979
],
8080
[

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
},
8989
"husky": {
9090
"hooks": {
91-
"commit-msg": "if git-branch-is develop; then commitlint -E HUSKY_GIT_PARAMS; fi"
91+
"commit-msg": "if git-branch-is master; then commitlint -E HUSKY_GIT_PARAMS; fi"
9292
}
9393
},
9494
"config": {

0 commit comments

Comments
 (0)