From 236015aebad7b1b9810af833aecbf8593622c544 Mon Sep 17 00:00:00 2001 From: MadCcc <1075746765@qq.com> Date: Mon, 30 May 2022 12:05:56 +0800 Subject: [PATCH] chore: not allow branch other than master to publish --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f47f9cd..5451f09 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "start": "dumi dev", "build": "dumi build", "compile": "father build && lessc assets/index.less assets/index.css", - "prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish --any-branch", + "prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish", "lint": "eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js", "test": "father test", "coverage": "father test --coverage",