Browse Source

fix package script usage

pull/431/head
Dmitrii Orlov 3 months ago
parent
commit
c36fc51da2
No known key found for this signature in database
GPG Key ID: A5C683DE49E900B5
  1. 2
      .github/workflows/ci.yml
  2. 4
      bin/package.sh

2
.github/workflows/ci.yml

@ -135,7 +135,7 @@ jobs:
- name: Build distribution _wheel_.
run: |
/bin/package.sh
./bin/package.sh
- name: Publish distribution 📦 to PyPI.
uses: pypa/gh-action-pypi-publish@master

4
bin/package.sh

@ -5,5 +5,5 @@
my_dir=`dirname "$0"`
cd $my_dir/..
rm -r build/* dist/*
python setup.py bdist_wheel sdist
rm -r build/* dist/* || echo "no build/* or dist/* folder is found"
python3 setup.py bdist_wheel sdist

Loading…
Cancel
Save