Commit ccf4852
fix(publish): add --skip-duplicate so nuget push is idempotent (#108)
Without --skip-duplicate, a single failed push aborts the whole publish
target, and a rerun then fails with HTTP 409 ("already exists") on
every package that did succeed the first time. That makes release.yml
non-recoverable from any partial-failure state, which we hit twice
today (#107 → SolutionPersistence prefix-reservation, then again
mid-key-permission-debug).
With --skip-duplicate, the push step returns success when a version
is already on nuget.org. Reruns are now safe and only the genuinely
missing packages get uploaded.
Wired via IPublish.PushSettings override (Configure<DotNetNuGetPushSettings>),
which composes on top of the existing PushSettingsBase in
Fallout.Components.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 6c26e76 commit ccf4852
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
145 | 151 | | |
146 | 152 | | |
147 | 153 | | |
| |||
0 commit comments