File tree Expand file tree Collapse file tree 6 files changed +163
-415
lines changed Expand file tree Collapse file tree 6 files changed +163
-415
lines changed Original file line number Diff line number Diff line change 6
6
release-comment :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
- - uses : actions/checkout@v3
9
+ - uses : actions/checkout@v4
10
10
with :
11
11
fetch-depth : 0
12
12
- name : Collect semantic-release-info
Original file line number Diff line number Diff line change 1
- name : Move v1 Tag
1
+ name : Move v2 Tag
2
2
3
3
on :
4
4
workflow_dispatch :
9
9
10
10
steps :
11
11
- name : Checkout code
12
- uses : actions/checkout@v3
12
+ uses : actions/checkout@v4
13
13
14
14
- name : Check branch
15
15
run : |
@@ -23,10 +23,10 @@ jobs:
23
23
git config user.name "semantic-release-bot"
24
24
git config user.email "[email protected] "
25
25
26
- - name : Move v1 tag to the latest commit in main
26
+ - name : Move v2 tag to the latest commit in main
27
27
run : |
28
28
git fetch --tags
29
- git tag -d v1 || echo "v1 tag not found, continuing"
30
- git push origin :refs/tags/v1 || echo "v1 tag not found in origin, continuing"
31
- git tag v1
32
- git push origin v1
29
+ git tag -d v2 || echo "v2 tag not found, continuing"
30
+ git push origin :refs/tags/v2 || echo "v2 tag not found in origin, continuing"
31
+ git tag v2
32
+ git push origin v2
Original file line number Diff line number Diff line change @@ -22,5 +22,5 @@ branding:
22
22
icon : ' package'
23
23
color : ' green'
24
24
runs :
25
- using : ' node16 '
25
+ using : ' node20 '
26
26
main : ' index.js'
Original file line number Diff line number Diff line change @@ -7,93 +7,14 @@ const plugins = [
7
7
[
8
8
'@semantic-release/commit-analyzer' ,
9
9
{
10
- 'releaseRules' : [
11
- {
12
- 'type' : 'build' ,
13
- 'scope' : 'deps' ,
14
- 'release' : 'patch'
15
- } ,
16
- {
17
- 'type' : 'docs' ,
18
- 'scope' : 'README' ,
19
- 'release' : 'patch'
20
- }
21
- ]
10
+ "config" : "@fingerprintjs/conventional-changelog-dx-team" ,
11
+ "releaseRules" : "@fingerprintjs/conventional-changelog-dx-team/release-rules"
22
12
}
23
13
] ,
24
14
[
25
15
'@semantic-release/release-notes-generator' ,
26
16
{
27
- 'preset' : 'conventionalCommits' ,
28
- 'presetConfig' : {
29
- 'types' : [
30
- {
31
- 'type' : 'feat' ,
32
- 'section' : 'Features'
33
- } ,
34
- {
35
- 'type' : 'feature' ,
36
- 'section' : 'Features'
37
- } ,
38
- {
39
- 'type' : 'fix' ,
40
- 'section' : 'Bug Fixes'
41
- } ,
42
- {
43
- 'type' : 'perf' ,
44
- 'section' : 'Performance Improvements'
45
- } ,
46
- {
47
- 'type' : 'revert' ,
48
- 'section' : 'Reverts'
49
- } ,
50
- {
51
- 'type' : 'docs' ,
52
- 'scope' : 'README' ,
53
- 'section' : 'Documentation'
54
- } ,
55
- {
56
- 'type' : 'build' ,
57
- 'scope' : 'deps' ,
58
- 'section' : 'Build System'
59
- } ,
60
- {
61
- 'type' : 'docs' ,
62
- 'section' : 'Documentation' ,
63
- 'hidden' : true
64
- } ,
65
- {
66
- 'type' : 'style' ,
67
- 'section' : 'Styles' ,
68
- 'hidden' : true
69
- } ,
70
- {
71
- 'type' : 'chore' ,
72
- 'section' : 'Miscellaneous Chores' ,
73
- 'hidden' : true
74
- } ,
75
- {
76
- 'type' : 'refactor' ,
77
- 'section' : 'Code Refactoring' ,
78
- 'hidden' : true
79
- } ,
80
- {
81
- 'type' : 'test' ,
82
- 'section' : 'Tests' ,
83
- 'hidden' : true
84
- } ,
85
- {
86
- 'type' : 'build' ,
87
- 'section' : 'Build System' ,
88
- 'hidden' : true
89
- } ,
90
- {
91
- 'type' : 'ci' ,
92
- 'section' : 'Continuous Integration' ,
93
- 'hidden' : true
94
- }
95
- ]
96
- }
17
+ "config" : "@fingerprintjs/conventional-changelog-dx-team"
97
18
}
98
19
] ,
99
20
] ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @fingerprintjs/action-semantic-release-preview" ,
3
3
"dependencies" : {
4
- "@actions/core" : " ^1.10.0" ,
5
- "conventional-changelog-conventionalcommits" : " ^5.0.0" ,
4
+ "@actions/core" : " ^1.10.1" ,
5
+ "@fingerprintjs/conventional-changelog-dx-team" : " ^0.1.0" ,
6
+ "conventional-changelog-conventionalcommits" : " ^7.0.2" ,
6
7
"semantic-release" : " ^19.0.5"
7
8
},
8
9
"license" : " MIT"
You can’t perform that action at this time.
0 commit comments