-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
42 additions
and
2 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
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 |
---|---|---|
|
@@ -16,7 +16,10 @@ | |
|
||
[tool.poetry] | ||
name = "rovio-ingest" | ||
version = "1.0.0" | ||
# NOTE: This version is ignored. | ||
# - Versions are managed by poetry-dynamic-versioning | ||
# - Git tags are used to create new releases | ||
version = "0.0.1" | ||
description = "" | ||
authors = ["Vivek Balakrishnan <[email protected]>", "Juho Autio <[email protected]>"] | ||
|
||
|
@@ -33,6 +36,22 @@ sparkmagic = "^0.15.0" | |
boto3 = "*" | ||
safety = "^1.10.3" | ||
|
||
[tool.poetry-dynamic-versioning] | ||
enable = true | ||
metadata = true | ||
dirty = true | ||
vcs = "git" | ||
style = "pep440" | ||
format-jinja = """ | ||
{%- if distance == 0 -%} | ||
{{ serialize_pep440(base, stage, revision) }} | ||
{%- elif revision is not none -%} | ||
{{ serialize_pep440(base, stage, revision + 1, dev=distance) }} | ||
{%- else -%} | ||
{{ serialize_pep440(bump_version(base), stage, revision, dev=distance) }} | ||
{%- endif -%} | ||
""" | ||
|
||
[build-system] | ||
requires = ["poetry>=0.12"] | ||
build-backend = "poetry.masonry.api" |