Skip to content

fix: release build version ldflags - #2712

Open
onikonychev wants to merge 1 commit into
mainfrom
fix/v2.17.0-test.3-build-version-ldflags
Open

fix: release build version ldflags#2712
onikonychev wants to merge 1 commit into
mainfrom
fix/v2.17.0-test.3-build-version-ldflags

Conversation

@onikonychev

@onikonychev onikonychev commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

The latest build returns empty for nibid version because of the modified build process

Copilot AI review requested due to automatic review settings July 23, 2026 15:38
@onikonychev
onikonychev requested a review from a team as a code owner July 23, 2026 15:38
@onikonychev onikonychev changed the title fix release build version ldflags fix: release build version ldflags Jul 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates the go build linker flags used by the release build script so that build-time version metadata is written into Nibiru’s in-tree Cosmos SDK fork (under lib/cosmos-sdk) instead of the upstream github.com/cosmos/cosmos-sdk import path.

Changes:

  • Switch -ldflags -X ... targets for version.{Name,AppName,Version,Commit,BuildTags} to github.com/NibiruChain/nibiru/v2/lib/cosmos-sdk/version.
  • Switch the DBBackend -X target to github.com/NibiruChain/nibiru/v2/lib/cosmos-sdk/types (note: this introduces a link-time failure as written; see review comment).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread contrib/scripts/build-nibiru.sh
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.

2 participants