ensure that the windows wheels were downloaded
@@ -10,6 +10,21 @@ set -x
make
python setup.py sdist
+
+windows_wheels_url="https://ci.appveyor.com/project/scottbelden/fastavro"
+if [ ! -f dist/fastavro-${ver}-cp27-cp27m-win_amd64.whl ]; then
+ echo "Make sure to download the Python 2.7 wheel from $windows_wheels_url"
+ exit 1
+fi
+if [ ! -f dist/fastavro-${ver}-cp35-cp35m-win_amd64.whl ]; then
+ echo "Make sure to download the Python 3.5 wheel from $windows_wheels_url"
+ exit 1
+fi
+if [ ! -f dist/fastavro-${ver}-cp36-cp36m-win_amd64.whl ]; then
+ echo "Make sure to download the Python 3.6 wheel from $windows_wheels_url"
+ exit 1
+fi
+
twine upload dist/fastavro-${ver}.tar.gz
twine upload dist/fastavro-${ver}*.whl
