Skip to content

Commit 1bc6027

Browse files
committed
fix(release): fix authorization.
1 parent ba0f339 commit 1bc6027

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ sudo: required
66
before_install:
77
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.7.0
88
- export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
9-
- if [[ "$TRAVIS_PULL_REQUEST" == “false” ]] && [[ "$TRAVIS_BRANCH" == “master” ]]; then
10-
cp .npmrc.template $HOME/.npmrc;
11-
fi
129
- yarn install
1310

1411
script: ./scripts/react-form-renderer.sh
@@ -21,8 +18,7 @@ deploy:
2118
- provider: script
2219
on:
2320
branch: master
24-
script:
25-
- yarn run release
21+
script: ./scripts/release.sh
2622
skip_cleanup: true
2723
- provider: surge
2824
on:

scripts/release.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
cp .npmrc.template $HOME/.npmrc
2+
yarn run release

0 commit comments

Comments
 (0)