Skip to content

Commit

Permalink
🔧 dynamic versioning [#4]
Browse files Browse the repository at this point in the history
Add dynamic versioning based on tags.
  • Loading branch information
selyunin committed Nov 26, 2024
1 parent f4a3a01 commit 727a08e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-and-publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
run: |
python -m pip install --upgrade pip poetry
poetry install
poetry self add "poetry-dynamic-versioning[plugin]"
- name: Build a binary wheel and a source tarball
run: poetry build
Expand Down
9 changes: 6 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"

[tool.poetry]
name = "umrx-app-v3"
version = "0.0.1"
version = "0.0.0"
description = "Python COINES firmware communication"
authors = [
"Konstantin Selyunin <selyunin.k.v@gmail.com>",
Expand Down Expand Up @@ -36,6 +36,9 @@ safety = ">=2.3.4,!=2.3.5"
typeguard = ">=3.0.2"
unittest-parametrize = "^1.4.0"

[tool.poetry-dynamic-versioning]
enable = true


[tool.coverage.report]
fail_under = 50
Expand Down

0 comments on commit 727a08e

Please sign in to comment.