Skip to content

Commit

Permalink
Add dynamic versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkleiven committed Oct 20, 2022
1 parent 62d845c commit 4838e75
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
with:
poetry-version: 1.2.1

- name: Install dynamic versioning
run: poetry self add "poetry-dynamic-versioning[plugin]"

- name: Install dependencies
shell: bash
run: poetry install
Expand Down
2 changes: 1 addition & 1 deletion cimsparql/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Library for CIM sparql queries"""
__version__ = "2.0.0"
__version__ = "0.0.0"
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# character.
[tool.poetry]
name = "cimsparql"
version = "2.0.0"
version = "0.0.0"
description = "CIM query utilities"
readme = "README.md"
authors = ["Statnett Datascience <Datascience.Drift@Statnett.no>"]
Expand Down Expand Up @@ -108,4 +108,4 @@ markers = [

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

0 comments on commit 4838e75

Please sign in to comment.