Commit 9a7dd1d
authored
Fix promote job: use explicit paths in metalink put step (#403)
Concourse's inputs:detect cannot resolve glob patterns like
compiled-linux-*/* to actual artifact names. Only version-semver
was detected from the version param, so compiled-linux-amd64 and
compiled-windows-amd64 task outputs were not mounted into the
resource container. filepath.Glob() in the metalink resource's out
script found zero files, producing a metalink with no <file> nodes,
causing: 'bad metalink: content error: missing file node'.
Replace globs with explicit directory names in the files param so
inputs:detect can resolve them correctly.1 parent 528a757 commit 9a7dd1d
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
644 | | - | |
645 | | - | |
| 644 | + | |
| 645 | + | |
646 | 646 | | |
0 commit comments