Skip to content

Commit 2a67bd1

Browse files
authored
Merge pull request #281 from nickhudkins/fix/publish
fix(publishing): new build produces a gzipped tarball
2 parents 3411fd9 + c851e3e commit 2a67bd1

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,7 @@ jobs:
2727
run: python -m pip install --upgrade pip build
2828
- name: Build Python distribution
2929
working-directory: .
30-
run: |
31-
rm -rf dist
32-
python -m build
33-
pushd dist >/dev/null || exit
34-
distrib=$(ls *.tar); distrib=${distrib/.tar/}
35-
mkdir -p ${distrib}
36-
cp ../requirements.txt ${distrib}
37-
tar rvf ${distrib}.tar ${distrib}/requirements.txt && gzip ${distrib}.tar
38-
rm -fr ${distrib}
39-
popd >/dev/null || exit
30+
run: python -m build
4031
- name: Publish a Python distribution to PyPI
4132
uses: pypa/[email protected]
4233
with:

0 commit comments

Comments
 (0)