Skip to content

Commit

Permalink
refactor: refactor changelog
Browse files Browse the repository at this point in the history
Signed-off-by: loonghao <[email protected]>
  • Loading branch information
loonghao committed Aug 10, 2024
1 parent 5b5da5f commit 5a90dde
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,25 +51,6 @@ jobs:
with:
name: portable_rez-${{ steps.get_tag_name.outputs.version }}-${{ matrix.target.triple }}
path: .zip/portable_rez-${{ steps.get_tag_name.outputs.version }}-${{ matrix.target.triple }}.zip
- name: Generate changelog
id: changelog
uses: jaywcjlove/changelog-generator@main
with:
token: "${{ secrets.GITHUB_TOKEN }}"
filter-author: (|dependabot|renovate\\[bot\\]|dependabot\\[bot\\]|Renovate Bot)
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
template: |
## Bugs
{{fix}}
## Feature
{{feat}}
## Improve
{{refactor,perf,clean}}
## Misc
{{chore,style,ci||🔶 Nothing change}}
## Unknown
{{__unknown__}}
shutil.rmtree(temp_dir, ignore_errors=True)

upload-artifact:
needs: deploy
Expand All @@ -85,6 +66,24 @@ jobs:
path: artifact
merge-multiple: true
- run: ls -R artifact
- name: Generate changelog
id: changelog
uses: jaywcjlove/changelog-generator@main
with:
token: "${{ secrets.GITHUB_TOKEN }}"
filter-author: (|dependabot|renovate\\[bot\\]|dependabot\\[bot\\]|Renovate Bot)
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
template: |
## Bugs
{{fix}}
## Feature
{{feat}}
## Improve
{{refactor,perf,clean}}
## Misc
{{chore,style,ci||🔶 Nothing change}}
## Unknown
{{__unknown__}}
- uses: ncipollo/release-action@v1
with:
artifacts: artifact/*
Expand Down

0 comments on commit 5a90dde

Please sign in to comment.