Skip to content

Commit 733109a

Browse files
committed
only build on master
1 parent f93e5de commit 733109a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.circleci/config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,13 @@ jobs:
2727
# needed for release process
2828
- run: brew install gettext
2929
- run: cd packages/graphql-playground-electron && yarn
30-
- run: cd packages/graphql-playground-electron && yarn release
30+
- run: |
31+
if [[ -z "$CIRCLE_PULL_REQUEST" && "$CIRCLE_BRANCH" == "master" ]]
32+
then
33+
cd packages/graphql-playground-electron && yarn release
34+
else
35+
cd packages/graphql-playground-electron && yarn build
36+
fi
3137
3238
workflows:
3339
version: 2

0 commit comments

Comments
 (0)