diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bb6f2d1a..5aa82942 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -83,6 +83,9 @@ jobs: run: | python -m pip install wheel python setup.py sdist bdist_wheel + - name: rename dist files + run: | + for file in dist/*.gz; do mv "$file" "$(echo $file | sed 's/-/_/g')" ; done - name: Publish a Python distribution to PyPI uses: pypa/gh-action-pypi-publish@15c56dba361d8335944d31a2ecd17d700fc7bcbc # v1.12.2 - name: sleep and wait for package to refresh diff --git a/setup.py b/setup.py index 4b498207..96c71381 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ def get_version(): setup( - name='bc_detect_secrets', + name='bc-detect-secrets', python_requires='>=3.8', packages=find_packages(exclude=(['test*', 'tmp*'])), version=VERSION,