-
Notifications
You must be signed in to change notification settings - Fork 35
Add Go submodule version tags for reproducible builds #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds automated creation of Go submodule version tags to enable reproducible builds with semantic versioning. Go modules in subdirectories require path-prefixed tags (go/v0.1.12) rather than root-level tags (v0.1.12) to allow users to pin to specific versions.
Changes:
- Added workflow step to create Go-specific tags after GitHub release creation
- Tag format:
go/v{version}(e.g.,go/v0.1.12) - Applies to both
latestandprereleasedist-tags with idempotent behavior
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Go modules in subdirectories require path-prefixed tags (
go/v0.1.12) rather than root-level tags (v0.1.12). Without these, users can only install via pseudo-versions and cannot pin to releases.Changes
Added workflow step to create Go-specific tags after release:
publish.ymlgo/v{version}(e.g.,go/v0.1.12)latestandprereleasepublishesResult
Users can now:
Previously limited to pseudo-versions like
v0.0.0-20260115160841-b8a836b2c6a3.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.