Update release.sh to use 'build' not 'pep517'
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
672165ecb6
commit
5cb14137dc
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
baddeps=""
|
||||
# check deps
|
||||
python3 -m pep517.__init__ || baddeps="python3-pep517"
|
||||
python3 -m build.__init__ || baddeps="python3-build"
|
||||
if [ -n "${baddeps}" ]; then
|
||||
echo "${baddeps} must be installed!"
|
||||
exit 1
|
||||
|
|
@ -22,5 +22,5 @@ git commit -s -m "Release ${version}" || exit 1
|
|||
git push || exit 1
|
||||
git tag -a -m "Release ${version}" ${version} || exit 1
|
||||
git push origin ${version} || exit 1
|
||||
python3 -m pep517.build . || exit 1
|
||||
python3 -m build . || exit 1
|
||||
twine upload -r pypi dist/${name}-${version}* || exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue