This is a plugin for semantic-release.
It updates version
and appVersion
of a Helm chart's Chart.yaml.
The version
is increased according to nextRelease.type
,
which can be one of
- major
- premajor
- minor
- preminor
- patch
- prepatch
- prerelease
or null if it's not valid.
The appVersion
is set to nextRelease.version
.
The plugin requires a single option chartPath
which points to the chart directory,
where the Chart.yaml is located.
{
"plugins": [
[
"semantic-release-helm",
{
chartPath: '/path/to/chart'
}
]
]
}