From 80b05c98bf374d97865ebce92c525eb4a4cdb5e1 Mon Sep 17 00:00:00 2001 From: "Jing Xu(RainX)" Date: Mon, 18 Dec 2023 12:05:39 +0800 Subject: [PATCH] fix: add debug message --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa23d97..8bdad0a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} run: | npm config set //registry.npmjs.org/:_authToken "${NPM_TOKEN}" - preid=$(sed -e s:/:-:g <<<${{ github.head_ref }}).${{ github.run_number }}.${{ github.run_attempt }} + preid="${HEAD_REF//\//-}".${{ github.run_number }}.${{ github.run_attempt }} pnpm --filter './packages/*' exec npm --no-git-tag-version version prerelease --preid="${preid}" pnpm --filter './packages/*' publish --no-git-checks --access public --tag development