From 2f81c8caea4a33a9b13fcaf6678a2cb4f0537212 Mon Sep 17 00:00:00 2001 From: Oscar Hermoso Date: Fri, 21 Jul 2023 16:14:21 +0800 Subject: [PATCH] Publish from-git then prerelease --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b9cdb14a4..d20974af7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,7 +21,8 @@ jobs: scope: '@kedyou' - name: Build and publish run: | - npm version --no-git-tag-version --pre-id="kedyou" prepatch + npm version --no-git-tag-version from-git + npm version --no-git-tag-version --pre-id="kedyou" prerelease npm ci npm publish env: