Skip to content

[codex] upload Go module dependency archive#25

Open
vitaly-zdanevich wants to merge 1 commit into
KrishnaSSH:mainfrom
vitaly-zdanevich:codex/upload-go-deps-tarball
Open

[codex] upload Go module dependency archive#25
vitaly-zdanevich wants to merge 1 commit into
KrishnaSSH:mainfrom
vitaly-zdanevich:codex/upload-go-deps-tarball

Conversation

@vitaly-zdanevich

Copy link
Copy Markdown

Summary

  • add checkout/setup-go to the release job
  • build gophertube-${VERSION}-deps.tar.xz from go mod download -modcacherw
  • include the dependency archive in the existing release checksum generation and upload

Why

Gentoo's current Go eclass support works best with a release-attached module cache archive instead of an overlay-maintained EGO_SUM list. Publishing this archive from CI makes downstream packaging reproducible without committing vendor/ to the repository.

Validation

  • ruby -e 'require "yaml"; YAML.load_file(".github/workflows/release.yml")'
  • git diff --check
  • locally ran the archive command with GITHUB_REF_NAME=v2.8.2; it produced final/gophertube-2.8.2-deps.tar.xz

@vitaly-zdanevich vitaly-zdanevich marked this pull request as ready for review June 15, 2026 16:21
@vitaly-zdanevich

Copy link
Copy Markdown
Author

I need vendor deps for gentoo-zh/overlay#10453

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant