Commit c4e7add
committed
fix(ci): set release mode: replace to make reruns idempotent
Without this, a workflow rerun against an existing release aborts after
uploading the first asset with:
422 Validation Failed [{Resource:ReleaseAsset Field:name
Code:already_exists Message:}]
The current tag v2.22.3-pulumi.alpha hit this after we rotated the tag
to pick up the git identity fix for tag_go_sdk (de510be). With mode:
replace, goreleaser deletes the existing asset before uploading, so
tag rotations, manual reruns, and concurrent race recovery all become
idempotent.
Validated with goreleaser check v2.15.4.1 parent de510be commit c4e7add
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
| |||
0 commit comments