From 4542bc1143fdb210a1fb8fda24415ba7ecfbafb7 Mon Sep 17 00:00:00 2001 From: Joey Guerra Date: Wed, 12 Jul 2023 21:39:23 -0500 Subject: [PATCH] fix(release): Add release branches --- package.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 705d2e4..18369bf 100644 --- a/package.json +++ b/package.json @@ -24,8 +24,7 @@ "main": "index.js", "scripts": { "pretest": "standard", - "test": "nyc --reporter=html --reporter=text mocha --exit", - "semantic-release": "semantic-release pre && npm publish && semantic-release post" + "test": "nyc --reporter=html --reporter=text mocha --exit" }, "dependencies": { "redis": "^4.6.6", @@ -40,5 +39,12 @@ "semantic-release": "^21.0.2", "sinon": "^15.0.4", "sinon-chai": "^3.7.0" + }, + "release": { + "branches": [ + "main", + "next" + ], + "dryRun": false } }