Skip to content

Commit 47ddaf4

Browse files
committed
Build: running release build on react-16 and react-17 branches
1 parent 796a85b commit 47ddaf4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ node_js:
66
stages:
77
- test
88
- name: release
9-
if: branch = master && type != pull_request
9+
if: branch IN (master, react-16, react-17) && type != pull_request
1010

1111
jobs:
1212
include:

release.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
module.exports = {
22
repositoryUrl: '[email protected]:WTW-IM/react-html-element.git',
3+
branches: [
4+
{ name: 'master' },
5+
{ name: 'react-17', channel: 'react-17', prerelease: 'react-17' },
6+
{ name: 'react-16', channel: 'react-16' },
7+
],
38
plugins: [
49
'@semantic-release/commit-analyzer',
510
'@semantic-release/release-notes-generator',

0 commit comments

Comments
 (0)