Skip to content
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

Version string empty when go mod replace with local path to repo #3875

Closed
gupadhyaya opened this issue Jan 9, 2024 · 1 comment · Fixed by #3878
Closed

Version string empty when go mod replace with local path to repo #3875

gupadhyaya opened this issue Jan 9, 2024 · 1 comment · Fixed by #3878
Assignees

Comments

@gupadhyaya
Copy link

For local testing, need to replace cosmos-sdk with local path to repo, however i get ✘ Version string empty when i do ignite chain build.

Steps to reproduce:

  • go mod replace cosmos-sdk with local path to sdk repo
replace github.com/cosmos/cosmos-sdk => /Users/gupadhyaya/go/src/github.com/gupadhyaya/cosmos-sdk
  • ignite chain build

ignite version

Ignite CLI version:		v28.1.0
Ignite CLI build date:		2023-12-23T08:29:07Z
Ignite CLI source hash:		4bb56d0cf73d16303221d8d1ffdd3ec395682813
Ignite CLI config version:	v1
Cosmos SDK version:		v0.50.1
Your OS:			darwin
Your arch:			arm64
Your Node.js version:		v17.9.0
Your go version:		go version go1.21.5 darwin/arm64
@julienrbrt julienrbrt self-assigned this Jan 9, 2024
@julienrbrt
Copy link
Member

Local replaces don't have a version, and since v28 we display the version at build time.
Probably something we should fix, especially that we rely on version detection for other things.

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 a pull request may close this issue.

2 participants