Skip to content

Commit 4105e97

Browse files
committed
feat: generate release log
Signed-off-by: seven <[email protected]>
1 parent f1c3534 commit 4105e97

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

.github/workflows/page-site.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,23 @@ jobs:
2323
cache: 'npm'
2424
- run: npm ci
2525
- run: npm run docs:build
26+
- name: Generate changelog
27+
uses: jaywcjlove/changelog-generator@main
28+
if: ${{ github.ref == 'refs/heads/master' }}
29+
id: changelog
30+
with:
31+
token: ${{ secrets.GITHUB_TOKEN }}
2632
- name: Build Release
2733
uses: jaywcjlove/create-tag-action@main
2834
if: ${{ github.ref == 'refs/heads/master' }}
2935
id: tag_release
3036
with:
3137
release: true
3238
token: ${{ secrets.GITHUB_TOKEN }}
33-
39+
body: |
40+
${{ steps.changelog.outputs.compareurl }}
41+
42+
${{ steps.changelog.outputs.changelog }}
3443
- name: Publish to Cloudflare Pages
3544
uses: cloudflare/pages-action@v1
3645
if: steps.tag_release.outputs.successful

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dockit-site",
3-
"version": "0.0.7",
3+
"version": "0.0.8",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)