mirror of
https://github.com/tabler/tabler.git
synced 2026-10-14 06:07:07 +04:00
Write the GitHub release body from the package changelogs (#2950)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
70f996bf77
commit
f07d46f970
10 files changed
+216
-3
No files matched your search
@@ -53,3 +53,16 @@ jobs:
|
||||
run: |
|
||||
version=$(node -p "require('./core/package.json').version")
|
||||
gh release upload "@tabler/core@${version}" "packages-zip/tabler-${version}.zip" --clobber
|
||||
|
||||
# `changesets/action` names the release `@tabler/core@1.5.0` and fills it with
|
||||
# the raw changelog entry. Rename it to `Tabler v1.5.0` and replace the body with
|
||||
# the intro from `.github/release-notes/<version>.md` followed by the changes
|
||||
# grouped per package.
|
||||
- name: Write the release notes
|
||||
if: steps.changesets.outputs.published == 'true'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
version=$(node -p "require('./core/package.json').version")
|
||||
pnpm run release-notes "${RUNNER_TEMP}/release-body.md"
|
||||
gh release edit "@tabler/core@${version}" --title "Tabler v${version}" --notes-file "${RUNNER_TEMP}/release-body.md"
|
||||
Reference in new issue
Block a user