Skip to content

Commit

Permalink
Attacking local versions in the setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wrzlprmft committed Feb 15, 2025
1 parent 4c7ea71 commit 8713fcc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@ jobs:
with:
name: python-package-distributions
path: dist/
# Trying to rename files for compatibility as per: https://stackoverflow.com/a/79437880/2127008
- name: Install rename
run: sudo apt-get install rename
- name: Compatibility dist renaming
run: rename "s/dev[^\.-]*/$(date +%s)/" dist/*
- name: Publish distribution to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ include = [

[tool.setuptools_scm]
write_to = "chspy/version.py"
local_scheme = "no-local-version"

[tool.ruff]
target-version = "py37"
Expand Down

0 comments on commit 8713fcc

Please sign in to comment.