Skip to content

fix: derive CLI version from package metadata#31

Merged
brendanjryan merged 2 commits into
mainfrom
brendanjryan/remove-hardcoded-version
Jun 24, 2026
Merged

fix: derive CLI version from package metadata#31
brendanjryan merged 2 commits into
mainfrom
brendanjryan/remove-hardcoded-version

Conversation

@brendanjryan

Copy link
Copy Markdown
Contributor

Summary

  • Read the CLI version from package metadata instead of a hardcoded fallback
  • Preserve TEMPO_WALLET_VERSION as the build-time override for packaged binaries

Motivation

Release bumps only update package.json, so a hardcoded source fallback can drift and break version checks after release PRs merge.

Key design considerations

  • Keeps package.json as the single source of truth for source/dev execution
  • Leaves the existing packaged-binary version override intact
  • Fails explicitly if package.json is missing a version

@brendanjryan brendanjryan marked this pull request as ready for review June 24, 2026 17:51
@brendanjryan brendanjryan merged commit ef13fe8 into main Jun 24, 2026
2 checks passed
@brendanjryan brendanjryan deleted the brendanjryan/remove-hardcoded-version branch June 24, 2026 17:52
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