Skip to content

Add version.json to match go-multibase - #58

Open
acul71 wants to merge 1 commit into
masterfrom
fix/issue-46-version-json
Open

Add version.json to match go-multibase#58
acul71 wants to merge 1 commit into
masterfrom
fix/issue-46-version-json

Conversation

@acul71

@acul71 acul71 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fixes Add version.json to match go-multibase #46
  • Adds root version.json with "version": "v2.0.0" for ecosystem tooling parity with go-multibase
  • Wires the file into bump-my-version so the v-prefixed value stays in sync on release

Demo / evidence

$ cat version.json
{
  "version": "v2.0.0"
}

$ bump-my-version bump patch --dry-run --allow-dirty
# shows version.json would change v2.0.0 → v2.0.1
# and would add version.json to the release commit

Explanation: Python package metadata keeps bare 2.0.0; only version.json stores the go-style v prefix. The dry-run confirms bumpversion updates that file correctly.

Test plan

  • make lint
  • make typecheck
  • make test
  • make docs-ci
  • bump-my-version bump patch --dry-run --allow-dirty includes version.json

Made with Cursor

Align with go-multibase by exposing the library version in version.json
and wiring it into bump-my-version so releases keep the v-prefixed value
in sync.

Co-authored-by: Cursor <cursoragent@cursor.com>
@acul71

acul71 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

Demo logs (bump dry-run)

$ cat version.json
{
  \"version\": \"v2.0.0\"
}

$ bump-my-version bump patch --dry-run --allow-dirty

This shows version.json is included in the bump set and would move v2.0.0v2.0.1 alongside the other version files.

@acul71

acul71 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

@sumanjeet0012 Could you please review this PR when you have a chance? Thanks!

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.

Add version.json to match go-multibase

1 participant