From 26c077acb4c4f0fe60c936edecb3012b44dddf15 Mon Sep 17 00:00:00 2001 From: Marcel Schaeben Date: Tue, 15 Mar 2016 17:57:15 +0100 Subject: [PATCH] feat: setup semantic-release --- .travis.yml | 2 +- package.json | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4918a73..e988741 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,7 +37,7 @@ script: after_success: - python travis_after_all.py -# - npm run semantic-release + - npm run semantic-release after_script: - $HOME/exist/${EXIST_DB_VERSION}/bin/shutdown.sh diff --git a/package.json b/package.json index 3699a43..e63fc64 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,14 @@ { "name": "gulp-exist", - "version": "1.2.3", "description": "Upload files to eXist-db", "main": "index.js", "scripts": { - "test": "node_modules/.bin/tape spec/*.js" + "test": "node_modules/.bin/tape spec/*.js", + "semantic-release": "semantic-release pre && npm publish && semantic-release post" }, "repository": { "type": "git", - "url": "git+https://github.com/olvidalo/gulp-exist.git" + "url": "https://github.com/olvidalo/gulp-exist.git" }, "keywords": [ "gulpplugin", @@ -28,7 +28,8 @@ "homepage": "https://github.com/olvidalo/gulp-exist#readme", "devDependencies": { "gulp": "^3.9.0", - "tape": "^4.5.0" + "tape": "^4.5.0", + "semantic-release": "^4.3.5" }, "dependencies": { "async": "^1.4.2",