Commit eea40bf
fix: skip version file updates on main for pre-release tags (#1396)
When a pre-release is created (e.g. v12.1.0-alpha.1), the release
workflow was updating Chart.yaml, kustomization.yaml, and other version
files on main with the pre-release version string. This is undesirable
because main should only reference stable release versions.
Add a !contains(github.event.release.tag_name, '-') guard to the
prepare-release job, matching the convention already used in publish.yaml
and release-manifests.yaml.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 42ddc4d commit eea40bf
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments