Skip to content

Commit 44b51c9

Browse files
committed
Internal version is incorrect
Problem: Internal version of package is still 'dirty' Solution: Summarised description of solution. Signed-off-by: Paul Hewlett <[email protected]>
1 parent bac2ddd commit 44b51c9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/python-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ jobs:
3636
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
3737
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
3838
run: |
39+
rm -f archivist/about.py
3940
./scripts/version.sh
41+
cat archivist/about.py
4042
python3 -m build --sdist
4143
python3 -m build --wheel
4244
twine check dist/*

pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ omit = [
1717

1818
[tool.setuptools-git-versioning]
1919
enabled = true
20-
template = "{tag}"
21-
dev_template = "{tag}.post{ccount}+git.{sha}"
22-
dirty_template = "{tag}.post{ccount}+git.{sha}.dirty"
23-
count_commits_from_version_file = false
2420

2521
[tool.pyright]
2622
include = ["archivist"]

0 commit comments

Comments
 (0)