diff --git a/.changeset/version.sh b/.changeset/version.sh new file mode 100755 index 00000000..207f1a62 --- /dev/null +++ b/.changeset/version.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +pnpm changeset version +pnpm install --lockfile-only +git commit --all --amend --no-edit diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bd723b8a..2ee81894 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,5 +22,6 @@ jobs: with: title: 🔖 new release publish: pnpm changeset publish + version: ./.changeset/version.sh env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}