Skip to content

Commit

Permalink
Added default client version for docker builds
Browse files Browse the repository at this point in the history
We don't have git available inside the container for docker test/builds
for the client, so we can fall back to a default version.
  • Loading branch information
oldpatricka committed Jul 8, 2024
1 parent 45c556a commit bd93fdb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ datalake = "datalake.scripts.cli:cli"
[tool.setuptools.packages.find]
exclude = ["test"]

[tool.versioningit]
default-version = "0.0.0-dev"

[tool.versioningit.format]
distance = "{base_version}+{distance}.{vcs}{rev}"
Expand All @@ -74,4 +76,4 @@ distance-dirty = "{base_version}+{distance}.{vcs}{rev}.dirty"
addopts = "--cov=planet.mc_client --cov-config .coveragerc"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')"
]
]

0 comments on commit bd93fdb

Please sign in to comment.