Commit de894ed
committed
fix: support repositories with immutable releases enabled
GitHub's immutable releases feature (GA since Oct 2025) prevents
modifying release artifacts after the release is created. This broke
chart-releaser because it creates the release first, then uploads
assets in a separate API call.
This fix creates releases as drafts first, uploads assets, then
publishes the release. Draft releases can be modified until they
are published, which allows the asset upload to succeed.
Fixes helm/chart-releaser-action#228
See: https://github.blog/changelog/2025-10-28-immutable-releases-are-now-generally-available/
Signed-off-by: Chris Burr <christopher.burr@cern.ch>1 parent 2523224 commit de894ed
1 file changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
106 | 111 | | |
| 112 | + | |
107 | 113 | | |
108 | 114 | | |
109 | 115 | | |
110 | 116 | | |
111 | 117 | | |
112 | 118 | | |
113 | 119 | | |
| 120 | + | |
114 | 121 | | |
115 | 122 | | |
116 | 123 | | |
| |||
123 | 130 | | |
124 | 131 | | |
125 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
126 | 144 | | |
127 | 145 | | |
128 | 146 | | |
| |||
0 commit comments