machine:
  node:
    version: 6.11.4
dependencies:
  override:
    - yarn
  cache_directories:
    - ~/.cache/yarn
test:
  override:
    - yarn coverage
deployment:
  staging:
    branch: master
    commands:
      - yarn deploy staging
  production:
    tag: /^[0-9]+(\.[0-9]+)*/
    commands:
      - yarn deploy production
general:
  artifacts:
    - "test/coverage"

machine:
  node:
    version: 6.11.4
dependencies:
  override:
    - yarn
  cache_directories:
    - ~/.cache/yarn
test:
  override:
    - yarn coverage
deployment:
  staging:
    branch: master
    commands:
      - yarn deploy staging
  production:
    tag: /^v[0-9]+(\.[0-9]+)*/
    commands:
      - yarn deploy production
general:
  artifacts:
    - "test/coverage"

Update production deploy for v tags
Update production deploy for v tags
