From 2368def00867ffde7dd363d79ef471a6e1b16d93 Mon Sep 17 00:00:00 2001 From: Tiffany K Date: Mon, 15 Nov 2021 13:09:37 -0800 Subject: [PATCH] fix: semantic release in package.json --- package.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 5765f2f..b49faac 100644 --- a/package.json +++ b/package.json @@ -5,12 +5,11 @@ "main": "index.js", "scripts": { "pretest": "eslint .", - "test": "nyc --report-dir ./artifacts/coverage --reporter=lcov mocha --reporter mocha-multi-reporters --reporter-options configFile=./mocha.config.json --recursive --timeout 4000 --retries 1 --exit --allow-uncaught true --color true", - "semantic-release": "semantic-release pre && npm publish && semantic-release post" + "test": "nyc --report-dir ./artifacts/coverage --reporter=lcov mocha --reporter mocha-multi-reporters --reporter-options configFile=./mocha.config.json --recursive --timeout 4000 --retries 1 --exit --allow-uncaught true --color true" }, "repository": { "type": "git", - "url": "git@github.com:screwdriver-cd/scm-gitlab.git" + "url": "git+https://github.com/screwdriver-cd/scm-gitlab.git" }, "homepage": "https://github.com/screwdriver-cd/scm-gitlab", "bugs": "https://github.com/screwdriver-cd/screwdriver/issues", @@ -53,6 +52,9 @@ "screwdriver-scm-base": "^7.3.0" }, "release": { + "branches": [ + "master" + ], "debug": false } }