Skip to content

Commit b0ffe8f

Browse files
fix: change name to codecov_cli for PEP625 (#577)
* fix: change name to codecov_cli for PEP625 * fix: see the dist names * fix: move the src file * fix: log * fix: more logs * fix: more data * fix: move it up * fix: force the mv * fix: more logs * fix: logs * fix * fix: cleanup * fix: try one-liner again * fix: fine-tune * fix: do what works
1 parent d700630 commit b0ffe8f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build_for_pypi.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
python setup.py sdist bdist_wheel --plat-name=manylinux2014_x86_64
3434
python setup.py bdist_wheel --plat-name=macosx-12.6-universal2
3535
python setup.py bdist_wheel --plat-name=win_amd64
36+
cd dist
37+
newfilename=$(ls | grep *.tar.gz | sed 's/codecov-cli/codecov_cli/')
38+
ls | grep *.tar.gz | xargs -I x mv -- x "$newfilename"
39+
ls -al
40+
cd ..
3641
- name: Publish package to PyPi
3742
if: inputs.publish == true
3843
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)