Skip to content

Commit 9c6a076

Browse files
authored
Update ci.yml
1 parent ba8d46a commit 9c6a076

1 file changed

Lines changed: 6 additions & 33 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -21,50 +21,23 @@ jobs:
2121

2222
- name: Bump version and push tag
2323
id: bump
24-
uses: anothrNick/github-tag-action@v1
25-
env:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27-
WITH_V: true
28-
DEFAULT_BUMP: patch
24+
uses: mathieudutour/github-tag-action@v6.2
25+
with:
26+
github_token: ${{ secrets.GITHUB_TOKEN }}
27+
default_bump: patch
2928

3029
- name: Build Changelog
3130
id: github_release
3231
uses: mikepenz/release-changelog-builder-action@v5
33-
with:
34-
mode: "COMMIT"
35-
configurationJson: |
36-
{
37-
"template": "#{{CHANGELOG}}",
38-
"categories": [
39-
{
40-
"title": "## 🚀 Features",
41-
"labels": ["feat", "feature"]
42-
},
43-
{
44-
"title": "## 🐛 Fixes",
45-
"labels": ["fix", "bug"]
46-
},
47-
{
48-
"title": "## Other",
49-
"labels": []
50-
}
51-
],
52-
"label_extractor": [
53-
{
54-
"pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\\([\\w\\-\\.]+\\))?(!)?: (.*?)([\\s\\S]*)?",
55-
"target": "$1"
56-
}
57-
]
58-
}
5932
env:
6033
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6134
fromTag: ${{ steps.bump.outputs.previous_tag }}
6235
toTag: ${{ steps.bump.outputs.new_tag }}
6336

6437
- name: Create Release
65-
uses: mikepenz/action-gh-release@v0.2.0-a03 #softprops/action-gh-release
38+
uses: softprops/action-gh-release@v2
6639
with:
67-
body: ${{steps.github_release.outputs.changelog}}
40+
body: ${{ steps.bump.outputs.changelog }}
6841
tag_name: ${{ steps.bump.outputs.new_tag }}
6942

7043
releaseDocker:

0 commit comments

Comments
 (0)