Skip to content

Commit

Permalink
fix(release): create a release every time there are new changes on ma…
Browse files Browse the repository at this point in the history
…ster
  • Loading branch information
uittorio committed Jun 6, 2020
1 parent d1bda72 commit 0013c9d
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Performance
on:
push:
branches:
- develop
- master
paths:
- 'src/**'
- 'performance/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- master
jobs:
release:
if: "startsWith(github.event.head_commit.message, 'ci(release): ts auto mock new version') != true"
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@ name: Test
on:
push:
branches:
- develop
- master
pull_request:
branches-ignore:
- master

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"package-lock.json",
"CHANGELOG.md"
],
"message": "ci(release): new version ${nextRelease.version}"
"message": "ci(release): ts auto mock new version ${nextRelease.version}"
}
],
[
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
},
"husky": {
"hooks": {
"commit-msg": "if git-branch-is develop; then commitlint -E HUSKY_GIT_PARAMS; fi"
"commit-msg": "if git-branch-is master; then commitlint -E HUSKY_GIT_PARAMS; fi"
}
},
"config": {
Expand Down

0 comments on commit 0013c9d

Please sign in to comment.