Publish a new version when merged to react branch
This commit is contained in:
parent
ea4ea9469e
commit
c4c94883cc
@ -55,19 +55,20 @@ jobs:
|
|||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: ~/repo
|
root: ~/repo
|
||||||
paths: .
|
paths: .
|
||||||
# npm_publish:
|
|
||||||
# <<: *defaults
|
npm_publish:
|
||||||
# steps:
|
<<: *defaults
|
||||||
# - attach_workspace:
|
steps:
|
||||||
# at: ~/repo
|
- attach_workspace:
|
||||||
# - run:
|
at: ~/repo
|
||||||
# name: Avoid hosts unknown for github
|
- run:
|
||||||
# command:
|
name: Avoid hosts unknown for github
|
||||||
# mkdir ~/.ssh/ && echo -e "Host github.com\n\tStrictHostKeyChecking
|
command:
|
||||||
# no\n" > ~/.ssh/config
|
mkdir ~/.ssh/ && echo -e "Host github.com\n\tStrictHostKeyChecking
|
||||||
# - run:
|
no\n" > ~/.ssh/config
|
||||||
# name: Publish using Semantic Release
|
- run:
|
||||||
# command: npx semantic-release
|
name: Publish using Semantic Release
|
||||||
|
command: npx semantic-release
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
@ -80,6 +81,7 @@ workflows:
|
|||||||
branches:
|
branches:
|
||||||
ignore:
|
ignore:
|
||||||
- master
|
- master
|
||||||
|
- react
|
||||||
- feature/*
|
- feature/*
|
||||||
- hotfix/*
|
- hotfix/*
|
||||||
|
|
||||||
@ -90,6 +92,6 @@ workflows:
|
|||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only: react
|
only: react
|
||||||
# - npm_publish:
|
- npm_publish:
|
||||||
# requires:
|
requires:
|
||||||
# - build_and_test
|
- build_and_test
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user