Repository navigation
Commit 5ec47ae
The NuGet workflow publishes an existing tag by hand (#2445)
A release event runs the workflow as it stood at the tagged commit, so a
release whose publish failed cannot be retried under a newer workflow by
re-running it. A workflow_dispatch with the tag checks the tag out and
packs it as the release would, with the login from the default branch's
workflow, which is the one the trusted-publishing policy names. The tag
reaches the shell through the environment rather than interpolated into
the script.
2.7.0's run failed on the expired API key before #2444; this publishes it.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent fbbce18 commit 5ec47ae
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
6 | 13 | | |
7 | 14 | | |
8 | 15 | | |
| |||
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
| 27 | + | |
| 28 | + | |
20 | 29 | | |
21 | 30 | | |
22 | 31 | | |
| 32 | + | |
| 33 | + | |
23 | 34 | | |
24 | | - | |
| 35 | + | |
25 | 36 | | |
26 | 37 | | |
27 | 38 | | |
| |||
0 commit comments