From aecee200c03e224fa3cf105c0ee2bcedb4703d82 Mon Sep 17 00:00:00 2001 From: Austin Lee Date: Mon, 2 Nov 2020 23:17:05 +0800 Subject: [PATCH] fix: add npm semantic release (#8) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 🐛增加 sementic-release * fix: semantic-relase needs git * fix: add npm auto release --- .releaserc | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.releaserc b/.releaserc index 62dd6e6e3..0159787c4 100644 --- a/.releaserc +++ b/.releaserc @@ -9,6 +9,7 @@ "message": "chore(🤖):${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" } ], + "@semantic-release/npm", "@semantic-release/github" ] } \ No newline at end of file diff --git a/package.json b/package.json index 92ec5949b..f96d32235 100755 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ "@semantic-release/commit-analyzer": "^8.0.1", "@semantic-release/git": "^9.0.0", "@semantic-release/github": "^7.1.1", + "@semantic-release/npm": "^7.0.6", "@semantic-release/release-notes-generator": "^9.0.1", "@types/babel__core": "^7.1.2", "@types/babel__generator": "^7.0.2",