Skip to content

Commit

Permalink
update release file
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalics committed Sep 22, 2022
1 parent 97495cf commit 9d3f4db
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,17 @@ jobs:
git config --global user.email "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
echo "GIT_USER=${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
- run: pnpm release --type ${{ github.event.inputs.release_type || 'patch' }}
- run: |
TAG=`git describe --tags --abbrev=0`
RELEASE_LOG=$(<./releases/$TAG.md)
- uses: fregante/release-with-changelog@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-template: "- {title} ← {hash}"
template: |
### Changelog
$RELEASE_LOG
### PRs
{commits}
Full changelog: {range}
See [Previous releases](https://github.com/vitalics/Telegraph/tree/main/releases)
Expand Down
4 changes: 4 additions & 0 deletions upcoming.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## core

- add release log for new releases

## packages

[@tlgr/docs]
Expand Down

0 comments on commit 9d3f4db

Please sign in to comment.