File tree Expand file tree Collapse file tree 3 files changed +9789
-5588
lines changed Expand file tree Collapse file tree 3 files changed +9789
-5588
lines changed Original file line number Diff line number Diff line change 22
22
"@semantic-release/npm" : " ^9.0.1" ,
23
23
"@semantic-release/release-notes-generator" : " ^10.0.3" ,
24
24
"conventional-changelog-eslint" : " ^3.0.9" ,
25
- "semantic-release" : " ^21.0.1"
25
+ "semantic-release" : " ^21.0.1" ,
26
+ "semantic-release-replace-plugin" : " ^1.2.7"
26
27
},
27
28
"scripts" : {
28
29
"postversion" : " cp package.json bower.json"
41
42
"preset" : " eslint"
42
43
}
43
44
],
45
+ [
46
+ " semantic-release-replace-plugin" ,
47
+ {
48
+ "replacements" : [
49
+ {
50
+ "files" : " migrations/*.js" ,
51
+ "from" : " @@CURRENT_VERSION" ,
52
+ "to" : " ${lastRelease.version}" ,
53
+ "countMatches" : true
54
+ },
55
+ {
56
+ "files" : " migrations/*.js" ,
57
+ "from" : " @@RELEASE_VERSION" ,
58
+ "to" : " ${nextRelease.version}" ,
59
+ "countMatches" : true
60
+ }
61
+ ]
62
+ }
63
+ ],
44
64
" @semantic-release/npm" ,
45
65
" @semantic-release/github" ,
46
66
[
47
67
" @semantic-release/git" ,
48
68
{
49
69
"assets" : [
50
70
" package.json" ,
51
- " bower.json"
71
+ " bower.json" ,
72
+ " migrations/*.js"
52
73
],
53
74
"message" : " Chore(release): ${nextRelease.version} [skip ci]\n\n ${nextRelease.notes}"
54
75
}
You can’t perform that action at this time.
0 commit comments