Skip to content

Commit

Permalink
chore(renovate): Use helm-docs instead of sed (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
erezrokah authored Jul 2, 2022
1 parent 137aa3a commit d3eff33
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@
// Bump patch version of chart when updating the CloudQuery CLI version
"sed -i \"s/^version.*/version: $(grep '^version' charts/cloudquery/Chart.yaml | cut -d\" \" -f2 | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./g')/g\" charts/cloudquery/Chart.yaml",
// Bump chart and cloudquery versions in README.md
"sed -i \"s/\\[Version:[^]]*/[Version: $(grep -o '\\[Version:[^]]*' charts/cloudquery/README.md | cut -d\" \" -f2 | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./g')/g\" charts/cloudquery/README.md",
"sed -i \"s/\\/Version-[^-]*/\\/Version-$(grep -o '/Version-[^-]*' charts/cloudquery/README.md | cut -d\"-\" -f2 | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./g')/g\" charts/cloudquery/README.md",
'sed -i "s/\\[AppVersion:[^]]*/[AppVersion: {{{newVersion}}}/g" charts/cloudquery/README.md',
'sed -i "s/\\/AppVersion-[^-]*//AppVersion-{{{newVersion}}}/g" charts/cloudquery/README.md',
'docker run --rm --volume "$(pwd):/helm-docs" -u "$(id -u)" jnorwood/helm-docs:v1.8.1',
],
fileFilters: [
"charts/cloudquery/Chart.yaml",
Expand Down

0 comments on commit d3eff33

Please sign in to comment.