Skip to content

Commit

Permalink
feat: configure changeset changelog generation
Browse files Browse the repository at this point in the history
- Set the changelog generation to false in the changeset config
- Add a step to generate the proper release note using the changelogithub tool
  • Loading branch information
Ryan-Zayne committed Oct 10, 2024
1 parent a3e4217 commit 851ae24
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"changelog": false,
"commit": false,
"fixed": [],
"linked": [],
Expand Down
5 changes: 5 additions & 0 deletions .changeset/hip-spiders-repair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@zayne-labs/toolkit": patch
---

add proper changelog tool
6 changes: 5 additions & 1 deletion .github/workflows/changeset--release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ jobs:
commit: "[ci]: update package version"
title: "[ci]: update package version"
publish: pnpm release

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Generate proper release note
run: pnpx changelogithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 851ae24

Please sign in to comment.