diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 53cc273..0c42f1b 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -30,9 +30,9 @@ jobs: run: | if pip search thop | grep -o "\((.*)\)" | xargs python .github/workflows/date_extraction.py -m ; then echo "There has been more than one week since last update, start to build." - python setup.py bdist_wheel + python setup.py sdist bdist_wheel twine check dist/* twine upload dist/* else echo "Latest update within one week, skip the build" - fi \ No newline at end of file + fi diff --git a/build.sh b/build.sh index 986a3f7..013878c 100644 --- a/build.sh +++ b/build.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash rm -rf build/ dist/ -python setup.py bdist_wheel +python setup.py sdist bdist_wheel twine check dist/* -twine upload dist/* \ No newline at end of file +twine upload dist/*