Skip to content

Commit

Permalink
Build: running release build on react-16 and react-17 branches
Browse files Browse the repository at this point in the history
  • Loading branch information
stevematney committed Feb 4, 2021
1 parent 796a85b commit 47ddaf4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ node_js:
stages:
- test
- name: release
if: branch = master && type != pull_request
if: branch IN (master, react-16, react-17) && type != pull_request

jobs:
include:
Expand Down
5 changes: 5 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
module.exports = {
repositoryUrl: 'git@github.com:WTW-IM/react-html-element.git',
branches: [
{ name: 'master' },
{ name: 'react-17', channel: 'react-17', prerelease: 'react-17' },
{ name: 'react-16', channel: 'react-16' },
],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
Expand Down

0 comments on commit 47ddaf4

Please sign in to comment.