Skip to content

Commit

Permalink
ci: single-sourced version
Browse files Browse the repository at this point in the history
  • Loading branch information
bendikrb committed Oct 31, 2024
1 parent 1ec899a commit ac65154
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ jobs:
poetry config virtualenvs.in-project true
- name: πŸ— Install dependencies
run: poetry install --no-interaction
- name: πŸ— Set package version
run: |
version="${{ github.event.release.tag_name }}"
version="${version,,}"
version="${version#v}"
poetry version --no-interaction "${version}"
- name: πŸ— Build package
run: poetry build --no-interaction
- name: πŸš€ Publish to PyPi
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "kassalappy"
version = "1.0.9"
version = "0.0.0"
description = "Python client for the Kassal.app API"
authors = ["Bendik R. Brenne <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit ac65154

Please sign in to comment.