machine:
  node:
    version: 6.1.0
dependencies:
  pre:
    - git config user.name Leko
    - git config user.email $NPM_EMAIL
  override:
    - npm run build
  post:
    - sudo apt-get install -y jq
test:
  pre:
    - npm run lint
  post:
    - bash <(curl -s https://codecov.io/bash)
deployment:
  production:
    branch: master
    commands:
      - echo -e "$NPM_USER\n$NPM_PASS\n$NPM_EMAIL" | npm login
      - git tag $(jq -r .version package.json)
      - git push origin $(jq -r .version package.json)
      - npm publish

machine:
  node:
    version: 6.1.0
dependencies:
  pre:
    - git config user.name Leko
    - git config user.email $NPM_EMAIL
  override:
    - npm run build
  post:
    - sudo apt-get install -y jq
test:
  pre:
    - npm run lint
  post:
    - bash <(curl -s https://codecov.io/bash)
deployment:
  production:
    branch: master
    commands:
      - git tag $(jq -r .version package.json)
      - git push origin $(jq -r .version package.json)
      - |
        github-release release \
          --user Leko \
          --repo in-progress.js \
          --tag $(jq -r .version package.json) \
          --name "v$(jq -r .version package.json)"
      - |
        github-release upload \
          --user Leko \
          --repo in-progress.js \
          --tag $(jq -r .version package.json) \
          --name "inprogress.js" \
          --file dist/inprogress.js
      - |
        github-release upload \
          --user Leko \
          --repo in-progress.js \
          --tag $(jq -r .version package.json) \
          --name "inprogress.min.js" \
          --file dist/inprogress.min.js
      - |
        github-release upload \
          --user Leko \
          --repo in-progress.js \
          --tag $(jq -r .version package.json) \
          --name "inprogress.min.js.map" \
          --file dist/inprogress.min.js.map
      - echo -e "$NPM_USER\n$NPM_PASS\n$NPM_EMAIL" | npm login
      - npm publish

Add built files into release
chore: Add built files into release
