Commit bfbf8f6
fix(ci): address PR review feedback
- download-github-releases.mjs: tighten release tag regex to
`_v\d+\.\d+\.\d+` (require a patch component) and explicitly
exclude `deployed/<tag>` marker tags before applying it, so
markers aren't re-treated as undeployed releases.
- download-github-releases.mjs: clear `publish_artifacts_stage/`
before each iteration and delete unknown-type files after
warning, so leftovers from a previous tag don't trigger
repeated warnings or incorrect moves on subsequent tags.
- azure-pipelines-cd.yml: make the Mark-deployed step idempotent
by checking for the marker tag via `git rev-parse --verify`
before creating + pushing. Previously, a re-run after partial
success would have aborted with `set -e` on the first
pre-existing tag.
- .github/workflows/README.md: update the release-job description
to reflect the atomic `gh release create --target <sha>` flow
(the earlier docs still claimed the workflow pushed an annotated
tag before creating the release).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 49d9f9f commit bfbf8f6
3 files changed
Lines changed: 28 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
125 | 127 | | |
126 | 128 | | |
127 | 129 | | |
| |||
132 | 134 | | |
133 | 135 | | |
134 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
135 | 141 | | |
136 | 142 | | |
137 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
43 | 50 | | |
44 | 51 | | |
45 | 52 | | |
| |||
75 | 82 | | |
76 | 83 | | |
77 | 84 | | |
78 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
79 | 93 | | |
80 | 94 | | |
81 | 95 | | |
| |||
106 | 120 | | |
107 | 121 | | |
108 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
109 | 127 | | |
110 | 128 | | |
111 | 129 | | |
| |||
121 | 139 | | |
122 | 140 | | |
123 | 141 | | |
| 142 | + | |
124 | 143 | | |
125 | 144 | | |
126 | 145 | | |
| |||
0 commit comments