Skip to content

Commit

Permalink
ci(github): update semantic-release configuration to update README ve…
Browse files Browse the repository at this point in the history
…rsion
  • Loading branch information
SimonGolms committed Jun 14, 2022
1 parent 6bea26b commit f72bf49
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/.releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ module.exports = {
},
},
],
[
'@semantic-release/exec',
{
// HINT: Make sure that the changed files are part of the 'assets' property in @semantic-release/git
verifyReleaseCmd: "sed -i 's/version-.*-blue/version-${nextRelease.version}-blue/g' README.md",
},
],
[
'@semantic-release/changelog',
{
Expand All @@ -56,7 +63,7 @@ module.exports = {
[
'@semantic-release/git',
{
assets: ['CHANGELOG.md'],
assets: ['CHANGELOG.md', 'README.md'],
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
},
],
Expand Down

0 comments on commit f72bf49

Please sign in to comment.