Skip to content

Commit

Permalink
ci(github): support hyphens in badge version
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonGolms committed Aug 25, 2022
1 parent 227ebd3 commit 364419c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/.releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ 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",
verifyReleaseCmd: "sed -i 's/version-.*-blue/version-${nextRelease.version.replace(/-/g, '--')}-blue/g' README.md",
},
],
[
Expand Down

0 comments on commit 364419c

Please sign in to comment.