From ca3934da5f3ec95a68bfc1b5eb20aa1e115f137c Mon Sep 17 00:00:00 2001 From: Suhun Han Date: Sun, 14 Jul 2024 14:45:09 +0900 Subject: [PATCH] fix(ci): ignore when version is already set --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7ff8c52..8574551 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -79,7 +79,7 @@ jobs: - name: 📝 Version env: TAG_NAME: ${{ github.event.release.tag_name }} - run: pnpm version ${TAG_NAME} --no-git-tag-version + run: pnpm version ${TAG_NAME} --no-git-tag-version || true - name: Set publishing config run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"