File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -24,22 +24,30 @@ jobs:
24
24
fetch-depth : 0
25
25
token : ${{ secrets.PRIVATE_TOKEN }}
26
26
27
- - uses : actions/setup-node@v3
27
+ - uses : actions/setup-node@v4
28
28
with :
29
29
node-version : 16
30
- - run : npm install conventional-changelog-conventionalcommits
30
+ - run : |
31
+
32
+
33
+
34
+ - name : Set up version.json
35
+ run : echo "{"version":$(git describe --tags --abbrev=0)}" > version.json
31
36
32
37
- name : Create changelog
33
38
id : changelog
34
- uses : TriPSs/conventional-changelog-action@v3.17.0
39
+ uses : TriPSs/conventional-changelog-action@v5.2.1
35
40
with :
36
41
github-token : ${{ secrets.PRIVATE_TOKEN }}
37
42
git-user-name : ' WynntilsBot'
38
43
git-user-email :
' [email protected] '
39
44
pre-commit : ./.github/.pre-commit.js
40
45
config-file-path : ./.github/.config.js
46
+ version-file : ./version.json
41
47
skip-version-file : true
42
48
skip-git-pull : true
49
+ pre-release : false
50
+ release-count : 5
43
51
44
52
- name : Create release
45
53
if : ${{ steps.changelog.outputs.skipped != 'true' }}
You can’t perform that action at this time.
0 commit comments