Skip to content

Commit

Permalink
chore: Enable semantic versioning automation
Browse files Browse the repository at this point in the history
  • Loading branch information
prantlf committed Jul 7, 2018
1 parent c59f36f commit 64994dc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ node_js:
- '10'
- '8'
- '6'
after_success:
- npm run coverage
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- /^v\d+\.\d+\.\d+$/
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "build-number-generator",
"description": "Generates a unique build number with the build time readable \"by a human\".",
"version": "0.0.1",
"version": "0.0.0-development",
"homepage": "https://github.com/prantlf/build-number-generator",
"author": {
"name": "Ferdinand Prantl",
Expand Down Expand Up @@ -34,7 +34,9 @@
"check": "tap tests/*.js",
"test": "npm run lint && npm run check",
"coveralls": "COVERALLS_REPO_TOKEN=gdW8xKIlPOKwdpTM79HShT78OTbpbSNBd npm run check -- --cov --coverage-report=lcov --no-browser",
"coverage": "test `node --version | cut -c 2` -eq 8 && npm run coveralls"
"coverage": "test `node --version | cut -c 2` -eq 8 && npm run coveralls",
"travis-deploy-once": "travis-deploy-once",
"semantic-release": "semantic-release"
},
"dependencies": {
"commander": "^2.16.0",
Expand All @@ -43,7 +45,9 @@
"devDependencies": {
"coveralls": "^3.0.2",
"standard": "^11.0.1",
"tap": "^12.0.1"
"tap": "^12.0.1",
"travis-deploy-once": "^5.0.1",
"semantic-release": "^15.6.3"
},
"keywords": [
"buildnumber",
Expand Down

0 comments on commit 64994dc

Please sign in to comment.