-
-
Notifications
You must be signed in to change notification settings - Fork 344
docs: new changelog #3710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
docs: new changelog #3710
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -49,13 +49,32 @@ 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 changelog:release:tag)" >> $GITHUB_OUTPUT | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The tag step runs after the changesets publish step. At that point, changesets has already created and pushed package-scoped tags (e.g. |
||
|
|
||
| - name: Generate Release Notes | ||
| id: notes | ||
| run: pnpm changelog:release:notes > release-notes.md | ||
|
|
||
| - name: Create GitHub Release | ||
| uses: softprops/action-gh-release@v2.6.1 | ||
| with: | ||
| body_path: release-notes.md | ||
| generate_release_notes: false | ||
| name: Release ${{ steps.tag.outputs.tag }} | ||
| 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 | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
explicitBreakingvariable is computed and then immediately voided. If this is intentional placeholder code for future use, it should be removed to avoid dead code. If it's meant to be used, it never feeds into the formatted output.