diff --git a/.changeset/commit.js b/.changeset/commit.js index cc5637c..35a98a8 100644 --- a/.changeset/commit.js +++ b/.changeset/commit.js @@ -1,4 +1,4 @@ /** @type {import('@changesets/types').CommitFunctions} */ module.exports = { - getVersionMessage: ({ releases }) => Promise.resolve(`🔖 v${releases[0]?.name}`), + getVersionMessage: ({ releases: [{ newVersion }] }) => Promise.resolve(`🔖 v${newVersion}`), }; diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4403e08..5f50c04 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,6 +19,5 @@ jobs: title: 🔖 new release version: bun version publish: bun changeset publish - setupGitUser: false env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}