Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions newsfragments/44.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add ``version.json`` at the repository root to match ``go-multicodec``, and keep it in sync on release through ``bump-my-version``.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ filename = "pyproject.toml"
search = "Download = \"https://github.com/multiformats/py-multicodec/tarball/{current_version}\""
replace = "Download = \"https://github.com/multiformats/py-multicodec/tarball/{new_version}\""

[[tool.bumpversion.files]]
filename = "version.json"
search = '"version": "v{current_version}"'
replace = '"version": "v{new_version}"'

[tool.mypy]
python_version = "3.10"
check_untyped_defs = false
Expand Down
3 changes: 3 additions & 0 deletions version.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"version": "v1.0.0"
}
Loading