https://github.com/JanDeDobbeleer/oh-my-posh/issues/7668 investigate how this can be…
- User
https://github.com/JanDeDobbeleer/oh-my-posh/issues/7668 investigate how this can be resolved, and also maybe this is already a go releaser functionality we can leverage, so find the most optimal path to achieve this.
Assistant
Good, this confirms the mechanism:
release.extra_files(glob) uploads pre-existing files as release assets. Now let me check the release section's exact syntax and confirm the field name (top-levelrelease:block, GitHub-specific).Assistant
Now update the upload-artifact path glob so the new tarball flows into the merged artifacts (and thus into the final release):
Assistant
This looks correct. Let me check the powershell skill for style conventions before finalizing.
Assistant
Investigation summary
Issue #7668 asks for a Go module dependency archive (
*-deps.tar.xz) as a release asset, so Gentoo (and other network-isolated build systems) can fetch deps ahead of time instead of hitting the network during the sandboxed build.On GoReleaser itself: it has no built-in "publish a deps tarball" feature. The closest related feature is
gomod.proxy, which only affects how GoReleaser itself fetches deps for verifiable builds — it doesn't produce a downloadable archive. There's also for uploading arbitrary pre-built files, but it's irrelevant here since this repo's release job runs GoReleaser with — the actual GitHub release is created afterward by using over everything collected from all jobs' artifacts.