Skip to content

Commit

Permalink
fix: distribution and change __init__.py using version pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
josuemtzmo committed Sep 3, 2021
1 parent 0ef525f commit a530014
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion blendernc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"author": "Oriol Tintó Prims & Josué Martínez-Moreno",
"description": "Blender Add-On to visualize geo-scientific data",
"blender": (2, 83, 0),
"version": tuple(int(ii) for ii in __version__.split(".")),
"version": (0, 4, 6),
"location": "View3D",
"warning": "Early version",
"category": "Generic",
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ version_variable = [
version_toml = [
"pyproject.toml:tool.poetry.version"
]

version_pattern= [
'blendernc/__init__.py: "version": (0\d+\,\d+\,\d+)'
]
major_on_zero = false
branch = "master"
upload_to_pypi = true
Expand Down

0 comments on commit a530014

Please sign in to comment.