From 9f6ff69928093ab33380840a9d46848b66bc46f3 Mon Sep 17 00:00:00 2001 From: Bekir Dogan Date: Mon, 16 Dec 2019 22:10:46 +0000 Subject: [PATCH] ci: fix chart version update --- .releaserc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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" ]