Skip to content

Commit 3b37da1

Browse files
authored
Merge pull request #3710 from hey-api/docs/changelog
docs: new changelog
2 parents 44b05bd + 39ad97a commit 3b37da1

31 files changed

Lines changed: 6122 additions & 31 deletions

.github/workflows/release.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,33 @@ jobs:
4949
uses: changesets/[email protected]
5050
with:
5151
commit: 'ci: release'
52+
createGithubReleases: false
5253
publish: pnpm changeset publish
5354
title: 'ci: release'
54-
version: pnpm changeset version
55+
version: pnpm changeset version && pnpm changelog:assemble
5556
env:
5657
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
5758
NPM_CONFIG_PROVENANCE: true
5859

60+
- name: Generate Release Tag
61+
id: tag
62+
run: echo "tag=$(pnpm -s changelog:release:tag)" >> $GITHUB_OUTPUT
63+
64+
- name: Generate Release Notes
65+
id: notes
66+
run: pnpm -s changelog:release:notes > release-notes.md
67+
env:
68+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
69+
70+
- name: Create GitHub Release
71+
uses: softprops/[email protected]
72+
with:
73+
body_path: release-notes.md
74+
generate_release_notes: false
75+
tag_name: ${{ steps.tag.outputs.tag }}
76+
env:
77+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
78+
5979
- name: Get current branch
6080
run: echo "CURRENT_BRANCH=$(git branch --show-current)" >> $GITHUB_ENV
6181

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ test/generated
3030

3131
# debug files
3232
openapi-ts-debug-*
33+
DEBUG_*
3334
# error files
3435
logs
3536
openapi-ts-error-*

.heyapi.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"maintainers": ["mrlubos"]
3+
}

0 commit comments

Comments
 (0)