From 851ae24fa764e7d7b4aa5896b422f4ff420b7b4b Mon Sep 17 00:00:00 2001 From: ryan-zayne Date: Thu, 10 Oct 2024 01:56:05 +0100 Subject: [PATCH] feat: configure changeset changelog generation - Set the changelog generation to false in the changeset config - Add a step to generate the proper release note using the changelogithub tool --- .changeset/config.json | 2 +- .changeset/hip-spiders-repair.md | 5 +++++ .github/workflows/changeset--release-and-publish.yml | 6 +++++- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .changeset/hip-spiders-repair.md diff --git a/.changeset/config.json b/.changeset/config.json index cdf8cfc..98adeef 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -1,6 +1,6 @@ { "$schema": "https://unpkg.com/@changesets/config@3.0.2/schema.json", - "changelog": "@changesets/cli/changelog", + "changelog": false, "commit": false, "fixed": [], "linked": [], diff --git a/.changeset/hip-spiders-repair.md b/.changeset/hip-spiders-repair.md new file mode 100644 index 0000000..9339868 --- /dev/null +++ b/.changeset/hip-spiders-repair.md @@ -0,0 +1,5 @@ +--- +"@zayne-labs/toolkit": patch +--- + +add proper changelog tool diff --git a/.github/workflows/changeset--release-and-publish.yml b/.github/workflows/changeset--release-and-publish.yml index 141df41..3faeeec 100644 --- a/.github/workflows/changeset--release-and-publish.yml +++ b/.github/workflows/changeset--release-and-publish.yml @@ -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 }}