Skip to content

Commit

Permalink
πŸ‘· github: fix changesets release
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Sep 23, 2024
1 parent 5ac378c commit 7f9aae3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .changeset/commit.js
Original file line number Diff line number Diff line change
@@ -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}`),
};
3 changes: 1 addition & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 7f9aae3

Please sign in to comment.