Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,33 @@ jobs:
uses: changesets/action@v1.7.0
with:
commit: 'ci: release'
createGithubReleases: false
publish: pnpm changeset publish
title: 'ci: release'
version: pnpm changeset version
version: pnpm changeset version && pnpm changelog:assemble
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
NPM_CONFIG_PROVENANCE: true

- name: Generate Release Tag
id: tag
run: echo "tag=$(pnpm -s changelog:release:tag)" >> $GITHUB_OUTPUT

- name: Generate Release Notes
id: notes
run: pnpm -s changelog:release:notes > release-notes.md
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}

- name: Create GitHub Release
uses: softprops/action-gh-release@v2.6.1
with:
body_path: release-notes.md
generate_release_notes: false
tag_name: ${{ steps.tag.outputs.tag }}
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}

- name: Get current branch
run: echo "CURRENT_BRANCH=$(git branch --show-current)" >> $GITHUB_ENV

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ test/generated

# debug files
openapi-ts-debug-*
DEBUG_*
# error files
logs
openapi-ts-error-*
Expand Down
3 changes: 3 additions & 0 deletions .heyapi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"maintainers": ["mrlubos"]
}
Loading
Loading