From 8169dd90bc72695f1683f79c495ab495bae56f5d Mon Sep 17 00:00:00 2001 From: Richard Walker Date: Thu, 8 Mar 2018 13:23:59 +0100 Subject: [PATCH] chore: add semantic-release to repo --- .travis.yml | 4 ++++ package.json | 12 ++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7ae04eb..9250a24 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,3 +14,7 @@ branches: only: - master - /^greenkeeper/.*$/ +notifications: + email: false +after_success: + - npm run travis-deploy-once "npm run semantic-release" \ No newline at end of file diff --git a/package.json b/package.json index b0e70b9..0424e69 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@asset-pipe/common", - "version": "1.0.0", + "version": "0.0.0-development", "author": { "name": "Trygve Lie", "email": "post@trygve-lie.com" @@ -9,7 +9,7 @@ "main": "./lib/common.js", "repository": { "type": "git", - "url": "git@github.com:asset-pipe/asset-pipe-common.git" + "url": "https://github.com/asset-pipe/asset-pipe-common.git" }, "keywords": ["test"], "contributors": [ @@ -38,7 +38,9 @@ "husky": "^0.14.3", "jest": "^22.4.2", "lint-staged": "^7.0.0", - "prettier": "^1.11.1" + "prettier": "^1.11.1", + "travis-deploy-once": "^4.3.4", + "semantic-release": "^15.0.1" }, "scripts": { "lint": "eslint .", @@ -46,7 +48,9 @@ "lint:format": "eslint --fix .", "lint:commit": "commitlint --from=HEAD~1", "precommit": "lint-staged", - "cm": "git-cz" + "cm": "git-cz", + "travis-deploy-once": "travis-deploy-once", + "semantic-release": "semantic-release" }, "files": ["lib"], "jest": {