DataDog / helm-charts

Helm charts for Datadog products
Apache License 2.0
330 stars 1.01k forks source link

[release] Add `CR_SKIP_EXISTING` flag to release job #1378

Closed lefebvree closed 3 months ago

lefebvree commented 3 months ago

What this PR does / why we need it:

If a chart was updated but the version was not bumped (example documentation, changelog), the release job will fail for all charts with:

Error: error creating GitHub release datadog-3.59.6: POST https://api.github.com/repos/DataDog/helm-charts/releases: 422 Validation Failed [{Resource:Release Field:tag_name Code:already_exists Message:}]

This PR adds the CR_SKIP_EXISTING flag to the release to ignore this issue.

Which issue this PR fixes

Checklist