From 761702afd8a88ad56908b69a65f315021c918b12 Mon Sep 17 00:00:00 2001 From: kitsuyui Date: Thu, 9 Jan 2025 22:38:41 +0900 Subject: [PATCH] Set version on publish I made a mistake in https://github.com/kitsuyui/ts-playground/pull/482 I need to set the version for all workspaces. --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 13f29db5..be04e11e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,12 +31,12 @@ jobs: pnpm install pnpm build - - name: update version - if: github.event_name == 'release' + - name: set git tag version run: | git config user.email "dummy@dummy" git config user.name "dummy" - pnpm version from-git --allow-same-version --no-git-tag-version || true + pnpm version from-git --allow-same-version --no-git-tag-version -ws || true + pnpm format - name: deploy run: pnpm publish --access=public --no-git-checks --recursive