Commit b698035
committed
fix(ci): make release workflow idempotent for re-runs
Add a pre-GoReleaser step that deletes all existing release assets,
so re-triggers via workflow_dispatch never fail with 422 already_exists.
Also add fail_on_unmatched_files to the softprops upload step to catch
missing build artifacts early instead of silently skipping them.
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>1 parent fcf0d95 commit b698035
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
115 | 126 | | |
116 | 127 | | |
117 | 128 | | |
| |||
193 | 204 | | |
194 | 205 | | |
195 | 206 | | |
| 207 | + | |
196 | 208 | | |
197 | 209 | | |
198 | 210 | | |
| |||
0 commit comments