Commit 31d8f40
committed
action: leave torrent URLs empty in per-image asset manifests
The build action ships images, .asc and .sha files alongside its
artefacts but never produces a .torrent. Until now the manifest's
file_url_torrent and redi_url_torrent fields still got constructed by
appending '.torrent' to the file URL, so consumers of the manifest
saw URLs that always 404.
Return an empty string from signature_urls() for the torrent slot so
both file_url_torrent and redi_url_torrent are empty in the per-image
`<image>.assets.json`. The fields stay present for schema parity
with the canonical armbian-images.json index — if torrents ever start
being produced upstream, only the helper needs to change.1 parent 21a4d0f commit 31d8f40
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | | - | |
403 | | - | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
404 | 408 | | |
405 | 409 | | |
406 | | - | |
407 | | - | |
| 410 | + | |
| 411 | + | |
408 | 412 | | |
409 | 413 | | |
410 | 414 | | |
| |||
0 commit comments