Skip to content

Commit d99bd5c

Browse files
committed
ci(GithubAction): integrate changelog to release instead
1 parent ff12048 commit d99bd5c

File tree

2 files changed

+9
-32
lines changed

2 files changed

+9
-32
lines changed

.github/workflows/changeLog.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,22 @@ jobs:
1212
steps:
1313
- name: Checkout code
1414
uses: actions/checkout@v4
15+
- name: Changelog
16+
uses: Bullrich/generate-release-changelog@master
17+
id: Changelog
18+
env:
19+
REPO: ${{ github.repository }}
1520
- name: Create Release
1621
id: create_release
17-
uses: actions/create-release@v1
22+
uses: actions/create-release@latest
1823
env:
1924
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication
2025
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2126
with:
2227
tag_name: ${{ github.ref }}
23-
release_name: ${{ github.ref }}
28+
release_name: Release ${{ github.ref }}
29+
body: |
30+
${{ steps.Changelog.outputs.changelog }}
2431
draft: false
2532
prerelease: false
2633

0 commit comments

Comments
 (0)