Skip to content

Commit

Permalink
fix my pypi script
Browse files Browse the repository at this point in the history
  • Loading branch information
Al Niessner authored and Al Niessner committed Mar 14, 2024
1 parent 4013cf0 commit a0127c4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pypi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ EOF
echo "tempdir: ${wdir}"
echo "version: ${version}"
cd $wdir
tar --strip-components=1 -xzf $bdir/RELEASES/PyXB-CTC-${version}.tar.gz
# No, this gets the release from github so that what is in this branch is not
# what is pushed to pypi. In essence, multiple runs of this script with same
# version produces same results.
wget https://github.com/al-niessner/pyxb/archive/${version}.tar.gz
tar --strip-components=1 -xzf ${version}.tar.gz
python3 setup.py sdist
twine check dist/*
twine upload --verbose dist/*
Expand Down

0 comments on commit a0127c4

Please sign in to comment.