From e0c7d5d9150236054e4e1d4c5e3e2c3c8e0e66bc Mon Sep 17 00:00:00 2001 From: bluelovers Date: Thu, 28 Jul 2022 07:18:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E5=88=A4=E6=96=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/update-git-tag.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-git-tag.ts b/scripts/update-git-tag.ts index 1deddb95c..665e51eaf 100644 --- a/scripts/update-git-tag.ts +++ b/scripts/update-git-tag.ts @@ -23,7 +23,7 @@ export default Bluebird.resolve() const commit = logs[0]; - const bool = commit.subject.startsWith(`build(changelog): update CHANGELOG`) || isVersionBranch && commit.subject.startsWith(`build(release): update build`); + const bool = /^(?:build\(changelog\): update CHANGELOG|build\(cache\): update publish tags)/.test(commit.subject) || isVersionBranch && commit.subject.startsWith(`build(release): update build`); const bool2 = match(commit.files, 'CHANGELOG.md').length > 0; console.cyan.info(commit.abbrevHash, `${commit.subject}`);