message: Publish only on version tags
  The changes are based off the Circle CI docs
diff: @@ -18,18 +18,22 @@ jobs:
  docker:
  - image: circleci/node:4-browsers
  steps:
  + - checkout
  - attach_workspace: { at: . }
  - run: npm publish .
  workflows:
  version: 2
  test_and_publish:
  jobs:
  - - test
  - - publish:
  + - test:
  + filters:
  + tags:
  + only: /.*/
  + - deploy:
  requires:
  - test
  filters:
  tags:
  only: /[0-9]+(\.[0-9]+)*(-.+)?/
  branches:
  - only: master
  + ignore: /.*/
  