message: only build on master
diff: @@ -27,7 +27,13 @@ jobs:
  # needed for release process
  - run: brew install gettext
  - run: cd packages/graphql-playground-electron && yarn
  - - run: cd packages/graphql-playground-electron && yarn release
  + - run: |
  + if [[ -z "$CIRCLE_PULL_REQUEST" && "$CIRCLE_BRANCH" == "master" ]]
  + then
  + cd packages/graphql-playground-electron && yarn release
  + else
  + cd packages/graphql-playground-electron && yarn build
  + fi
  workflows:
  version: 2
  