
machine:
  node:
    version: 6

dependencies:
  pre:
    - bundle config without development:production
    - npm rebuild node-sass
  cache_directories:
    - "/node_modules/"
test:
  pre:
    - npm run build
  override:
    - npm run test

deployment:
  npm:
    tag: /release-.*/
    owner: 18F
    commands:
      - echo -e "$NPM_USERNAME\n$NPM_PASSWORD\n$NPM_EMAIL" | npm login
      - npm run check-publish


machine:
  node:
    version: 6

dependencies:
  pre:
    - bundle config without development:production
    - npm rebuild node-sass
  cache_directories:
    - "/node_modules/"
test:
  pre:
    - npm run build
  override:
    - npm run test

deployment:
  npm:
    tag: /[0-9]+(\.[0-9]+)*/
    owner: 18F
    commands:
      - echo -e "$NPM_USERNAME\n$NPM_PASSWORD\n$NPM_EMAIL" | npm login
      - npm run check-publish

Fix mistake in release check
Fix mistake in release check