From d131846bf81f967fde33156250e786cb4adb2346 Mon Sep 17 00:00:00 2001 From: stkevintan Date: Tue, 9 Jan 2024 22:02:02 +0800 Subject: [PATCH] core|0.0.1 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f187e9b..4a802d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,11 +41,11 @@ jobs: - name: Publish run: | npm config set provenance true - if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$"; + if git log -1 --pretty=%B | grep "^core|[0-9]\+\.[0-9]\+\.[0-9]\+$"; then echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc pnpm nx run core:publish - elif git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+"; + elif git log -1 --pretty=%B | grep "^core|[0-9]\+\.[0-9]\+\.[0-9]\+"; then echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc pnpm nx run core:publish --tag next