-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use dynamic versioning * poetry update * include metadata * use only laest tag * adjust build dependencies * remove metadata from versioning * fix typo * revert latest tag only config * fetch tags * set fetch depth to 0
- Loading branch information
Showing
4 changed files
with
34 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,11 @@ jobs: | |
steps: | ||
- name: "⤵️ Check out code from GitHub" | ||
uses: "actions/checkout@v4" | ||
with: | ||
fetch-depth: 0 | ||
fetch-tags: true | ||
- name: "🚀 Build package and publish to pypi" | ||
uses: "JRubics/[email protected]" | ||
with: | ||
pypi_token: "${{ secrets.PYPI_PASSWORD }}" | ||
plugins: "poetry-dynamic-versioning[plugin]" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ description = "Python client for Toyota Connected Services." | |
authors = ["Simon Grud Hansen <[email protected]>"] | ||
license = "MIT" | ||
readme = "README.md" | ||
version = "1.1.0" | ||
version = "0.0.0" | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"License :: OSI Approved :: MIT License", | ||
|
@@ -76,6 +76,9 @@ extend-ignore = ["PLR2004", "D203", "D213", "COM812"] | |
line-length = 99 | ||
fix = true | ||
|
||
[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>=1.0.0,<2.0.0"] | ||
build-backend = "poetry_dynamic_versioning.backend" |