diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8743980..6e061c0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,10 +22,8 @@ jobs: node-version: 18 cache: pnpm - run: pnpm install --frozen-lockfile - - run: pnpm turbo run build - - run: pnpm run version - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: pnpm exec turbo deploy + run: pnpm exec turbo build deploy diff --git a/packages/obsidian-mocks/release-it.js b/packages/obsidian-mocks/release-it.js index 695a169..03ed74a 100644 --- a/packages/obsidian-mocks/release-it.js +++ b/packages/obsidian-mocks/release-it.js @@ -30,4 +30,7 @@ module.exports = { release: true, releaseName: `${packageName}-${version}`, }, + hooks: { + 'before:git:release': ['pnpm run version', 'git add --all'], + }, };