Skip to content

Commit

Permalink
[feat] add dynamic versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
ctr26 committed Oct 1, 2024
1 parent 1bedf87 commit e8e2869
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
run: poetry --help
- name: Install poetry
uses: abatilo/actions-poetry@v2
- name: Dynamic versioning
uses: poetry self add poetry-dynamic-versioning
- name: Setup a local virtual environment (if no poetry.toml file)
run: |
poetry config virtualenvs.create true --local
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,7 @@ line-length = 80
# url = "https://download.pytorch.org/whl/cpu"
# default = false
# secondary = true

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

0 comments on commit e8e2869

Please sign in to comment.