Skip to content

Commit

Permalink
[增加]1. 增加Change log 的生成和提交
Browse files Browse the repository at this point in the history
  • Loading branch information
AlianBlank committed Sep 24, 2024
1 parent 6c47148 commit f6106ff
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,22 @@ jobs:
git config --global user.email "wangfj11@foxmail.com"
git config --global user.name "AlianBlank"
- name: "✏️ Generate release changelog"
uses: heinrichreimer/action-github-changelog-generator@v2.3
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Commit CHANGELOG.md
run: |
git add CHANGELOG.md
git commit -m "[修改]1.修改更新日志"
- name: change-version-by-tag
uses: AlianBlank/github-action-tag-version@1.0.0
with:
version: ${{ github.ref_name }}

- name: Push changes
uses: ad-m/github-push-action@master
with:
branch: ${{ github.head_ref }}


changelog:
runs-on: ubuntu-latest
steps:
- name: "✏️ Generate release changelog"
uses: heinrichreimer/action-github-changelog-generator@v2.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.head_ref }}

0 comments on commit f6106ff

Please sign in to comment.