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 2525 "@semantic-release/npm" : " ^9.0.1" ,
2626 "@semantic-release/release-notes-generator" : " ^10.0.3" ,
2727 "conventional-changelog-eslint" : " ^3.0.9" ,
28- "semantic-release" : " ^21.0.1"
28+ "semantic-release" : " ^21.0.1" ,
29+ "semantic-release-replace-plugin" : " ^1.2.7"
2930 },
3031 "scripts" : {
3132 "postversion" : " cp package.json bower.json"
4445 "preset" : " eslint"
4546 }
4647 ],
48+ [
49+ " semantic-release-replace-plugin" ,
50+ {
51+ "replacements" : [
52+ {
53+ "files" : " migrations/*.js" ,
54+ "from" : " @@CURRENT_VERSION" ,
55+ "to" : " ${lastRelease.version}" ,
56+ "countMatches" : true
57+ },
58+ {
59+ "files" : " migrations/*.js" ,
60+ "from" : " @@RELEASE_VERSION" ,
61+ "to" : " ${nextRelease.version}" ,
62+ "countMatches" : true
63+ }
64+ ]
65+ }
66+ ],
4767 " @semantic-release/npm" ,
4868 " @semantic-release/github" ,
4969 [
5070 " @semantic-release/git" ,
5171 {
5272 "assets" : [
5373 " package.json" ,
54- " bower.json"
74+ " bower.json" ,
75+ " migrations/*.js"
5576 ],
5677 "message" : " Chore(release): ${nextRelease.version} [skip ci]\n\n ${nextRelease.notes}"
5778 }
You can’t perform that action at this time.
0 commit comments