diff --git a/.releaserc b/.releaserc index bb9ef87..e605b1b 100644 --- a/.releaserc +++ b/.releaserc @@ -4,8 +4,7 @@ "@semantic-release/release-notes-generator", "@semantic-release/changelog", ["@semantic-release/exec", { - "prepareCmd" : "sed -i 's/^version: .*/version: ${nextRelease.version}/' charts/tillerless-helm-release-exporter/Chart.yaml", - "prepareCmd" : "sed -i 's/^appVersion: .*/appVersion: ${nextRelease.version}/' charts/tillerless-helm-release-exporter/Chart.yaml", + "prepareCmd" : "sed -i 's/^\\(version\\|appVersion\\): .*/\\1: ${nextRelease.version}/' charts/tillerless-helm-release-exporter/Chart.yaml" }], ["@semantic-release/git", { "assets": [ "CHANGELOG.md", "charts/tillerless-helm-release-exporter/Chart.yaml" ]