Skip to content

Commit

Permalink
fix(scripts): 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 188b1f1 commit 56345ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/releaserc.version.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = {
sed -i 's/appVersion:.*/appVersion: \"${nextRelease.version}\"/g' chart/Chart.yaml && \
sed -i 's/imageTag:.*/imageTag: ${nextRelease.version}/g' chart/values.yaml && \
sed -i 's/version:.*/version: ${nextRelease.version}/g' metadata.yml && \
sed -i 's/version-.*-blue/version-${nextRelease.version}-blue/g' README.md",
sed -i 's/version-.*-blue/version-${nextRelease.version.replace(/-/g, '--')}-blue/g' README.md",
},
],
],
Expand Down

0 comments on commit 56345ea

Please sign in to comment.