Commit e3e0b08
Bump: download dep AutoUpdatedVersions.props from VCS when not local
Reverts the artifact-dep approach from 0cebead: AutoUpdatedVersions.props
is build-independent source code, so coupling bump to a CI artifact made
the version pipeline build-dependent for no reason.
New behavior in AutoUpdatedVersionsFile.TryWrite: if neither local
candidate path exists (source-dependencies/<dep>/<eng>/... or
../<dep>/<eng>/...), fall back to VcsRepository.TryDownloadTextFile on
the dep's ReleaseBranch (or Branch when null). XML is parsed in-memory
via the new TryParse helper, which TryRead now also delegates to.
This unblocks bump for repos like Metalama.Vsx 2026.1 where Metalama and
Metalama.Compiler are artifact-only deps and never appear under
source-dependencies.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 8c6e01f commit e3e0b08
4 files changed
Lines changed: 46 additions & 43 deletions
File tree
- .teamcity
- src/PostSharp.Engineering.BuildTools
- Build/Files
- ContinuousIntegration/TeamCity/Generation
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
Lines changed: 42 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
36 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
37 | 44 | | |
38 | 45 | | |
39 | 46 | | |
| |||
43 | 50 | | |
44 | 51 | | |
45 | 52 | | |
46 | | - | |
| 53 | + | |
47 | 54 | | |
48 | 55 | | |
49 | 56 | | |
| |||
60 | 67 | | |
61 | 68 | | |
62 | 69 | | |
63 | | - | |
| 70 | + | |
64 | 71 | | |
65 | 72 | | |
66 | 73 | | |
| |||
125 | 132 | | |
126 | 133 | | |
127 | 134 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 135 | + | |
133 | 136 | | |
134 | 137 | | |
135 | 138 | | |
136 | 139 | | |
137 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
138 | 149 | | |
139 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
140 | 156 | | |
141 | | - | |
| 157 | + | |
| 158 | + | |
142 | 159 | | |
143 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
144 | 170 | | |
145 | 171 | | |
146 | | - | |
| 172 | + | |
147 | 173 | | |
148 | 174 | | |
149 | | - | |
| 175 | + | |
| 176 | + | |
150 | 177 | | |
151 | 178 | | |
152 | 179 | | |
| |||
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 40 | + | |
44 | 41 | | |
45 | 42 | | |
46 | 43 | | |
| |||
Lines changed: 3 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 55 | | |
60 | 56 | | |
61 | 57 | | |
| |||
273 | 269 | | |
274 | 270 | | |
275 | 271 | | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | 272 | | |
292 | 273 | | |
293 | 274 | | |
294 | 275 | | |
295 | 276 | | |
296 | | - | |
| 277 | + | |
297 | 278 | | |
298 | 279 | | |
299 | 280 | | |
| |||
302 | 283 | | |
303 | 284 | | |
304 | 285 | | |
305 | | - | |
306 | | - | |
| 286 | + | |
| 287 | + | |
307 | 288 | | |
308 | | - | |
309 | 289 | | |
310 | 290 | | |
311 | 291 | | |
| |||
0 commit comments