Skip to content

Commit

Permalink
fix(build): Automatic releases!!! ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
Kent C. Dodds committed Oct 8, 2015
1 parent be70fe4 commit 114f967
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '4'
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
after_success:
- npm run semantic-release
branches:
only:
- master
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# cz-conventional-changelog

Status:
[![npm version](https://img.shields.io/npm/v/cz-conventional-changelog.svg?style=flat-square)](https://www.npmjs.org/package/cz-conventional-changelog)
[![npm downloads](https://img.shields.io/npm/dm/cz-conventional-changelog.svg?style=flat-square)](http://npm-stat.com/charts.html?package=cz-conventional-changelog&from=2015-08-01)
[![Build Status](https://img.shields.io/travis/commitizen/cz-conventional-changelog.svg?style=flat-square)](https://travis-ci.org/commitizen/cz-conventional-changelog)

Part of the [commitizen](https://github.com/commitizen/cz-cli) family. Prompts for [conventional changelog](https://github.com/ajoslin/conventional-changelog/blob/master/conventions/angular.md) standard.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "cz-conventional-changelog",
"version": "1.1.0",
"version": "0.0.0-semantically-released.0",
"description": "Commitizen adapter following the conventional-changelog format.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo 'Tests need to be setup!'",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"homepage": "https://github.com/commitizen/cz-conventional-changelog",
"repository": {
Expand All @@ -15,5 +16,8 @@
"license": "MIT",
"dependencies": {
"word-wrap": "^1.0.3"
},
"devDependencies": {
"semantic-release": "^4.3.5"
}
}

0 comments on commit 114f967

Please sign in to comment.