Skip to content
This repository has been archived by the owner on May 2, 2019. It is now read-only.

Commit

Permalink
release script
Browse files Browse the repository at this point in the history
  • Loading branch information
matteocontrini committed Feb 18, 2017
1 parent 820a29d commit 4f24902
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .release.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"changelogCommand": "git log --no-merges --pretty=format:\"* %s (%h)\" [REV_RANGE]",
"github": {
"release": true,
"tokenRef": "GITHUB_TOKEN"
}
}
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
"name": "terremotibot-social",
"version": "1.0.0",
"description": "Automatic earthquakes poster to Twitter and Facebook",
"private": true,
"main": "index.js",
"scripts": {
"lint": "eslint src"
"lint": "eslint src",
"release-patch": "release-it patch",
"release": "release-it minor",
"release-minor": "release-it minor"
},
"repository": "botfactoryit/terremotibot-social",
"author": "Matteo Contrini <m.contrini@gmail.com>",
Expand All @@ -21,6 +25,7 @@
"twit": "^2.2.5"
},
"devDependencies": {
"eslint": "^3.15.0"
"eslint": "^3.15.0",
"release-it": "^2.5.4"
}
}

0 comments on commit 4f24902

Please sign in to comment.