You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My application has a Helm chart that is used to deploy my app to Kubernetes whenever I do a release. It is located in a subdirectory called deploy in my root project directory.
app/
-- package.json
-- deploy/
---- Chart.yaml (want to sync this with package.json)
Is there a way to have semantic-release update the version field in that file (to be synced with the updated package.json version) as part of its process and also include it as part of the chore(release): x.x.x [skip ci] commit changeset that it generates?
The text was updated successfully, but these errors were encountered:
thedanchez
changed the title
Sync Helm Chart.yaml file with package.json after semantic-release
Sync Helm Chart.yaml version with package.json version after semantic-release
May 19, 2022
thedanchez
changed the title
Sync Helm Chart.yaml version with package.json version after semantic-release
Sync Helm Chart.yaml version with package.json version with semantic-release
May 19, 2022
thedanchez
changed the title
Sync Helm Chart.yaml version with package.json version with semantic-release
Make semantic-release sync Helm Chart.yaml version with package.json version
May 19, 2022
// .releaserc.jsmodule.exports={plugins: [// ...['@semantic-release/exec',{// WORKAROUND: Use of `case` command, because not all shell versions can interpret the `if` statement syntax correctly// Maximum system compatibility between Windows, Linux and MacOS, since `sed -i` behaves differently on each type.verifyReleaseCmd:
"case $OSTYPE in darwin*) SEDOPTION=\" \";; esac && \ sed -i$SEDOPTION'' -e 's/version:.*/version: ${nextRelease.version}/g' deploy/Chart.yaml && \ sed -i$SEDOPTION'' -e 's/appVersion:.*/appVersion: \"${nextRelease.version}\"/g' deploy/Chart.yaml",},],],};
My application has a Helm chart that is used to deploy my app to Kubernetes whenever I do a release. It is located in a subdirectory called
deploy
in my root project directory.Is there a way to have
semantic-release
update theversion
field in that file (to be synced with the updatedpackage.json
version) as part of its process and also include it as part of thechore(release): x.x.x [skip ci]
commit changeset that it generates?The text was updated successfully, but these errors were encountered: