Skip to content

Commit

Permalink
feat(release): Use semantic release to auto release to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Towerism committed Sep 10, 2018
1 parent 26da56e commit e79692c
Show file tree
Hide file tree
Showing 5 changed files with 8,628 additions and 1,972 deletions.
9 changes: 9 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
dist/e2e
.vscode
!dist/src
e2e
src
coverage
tsconfig.json
tslint.json
.travis.yml
12 changes: 11 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,20 @@ cache:
directories:
- ~/.npm
- node_modules
notifications:
email: false
node_js:
- 10
- '10'
- '9'
- '8'
- '6'
before-install:
- npm install -g codecov
script:
- npm run test
- npx codecov
after_success:
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- /^v\d+\.\d+\.\d+$/
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
[![Build Status](https://travis-ci.org/Towerism/commander-mvc.svg?branch=master)](https://travis-ci.org/Towerism/commander-mvc)
[![Codecov branch](https://img.shields.io/codecov/c/github/towerism/commander-mvc/master.svg)](https://codecov.io/gh/Towerism/commander-mvc)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

[![npm (tag)](https://img.shields.io/npm/v/commander-mvc/latest.svg)](https://www.npmjs.com/package/commander-mvc)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

A model-view-controller wrapper for commander CLI framework

Expand Down

0 comments on commit e79692c

Please sign in to comment.