Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
Switch to poetry-dynamic-versioning in publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vrslev committed May 4, 2023
1 parent 99abf9e commit 719a842
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ jobs:

- name: Install Poetry
run: |
pip install -U pip
pip install -U poetry==v1.2.0a2
poetry plugin add poetry-version-plugin
pip install -U pip poetry
poetry self add "poetry-dynamic-versioning[plugin]"
- name: Cache
uses: actions/cache@v3
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ requests = ["requests"]
httpx = ["httpx"]
all = ["pydantic", "requests", "httpx"]

[tool.poetry-version-plugin]
source = "git-tag"
[tool.poetry-dynamic-versioning]
enable = true

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"

[tool.black]
target-version = ["py38", "py39", "py310"]
Expand Down

0 comments on commit 719a842

Please sign in to comment.