Bugfix/deploy
* Fixed deploy.sh
Fixed typos in deploy.sh
* Update email in _about.py
* Changed internal default version to 2.0.0
#!/bin/sh
+set -e
+
VERSION=${TRAVIS_TAG}
REF=${TRAVIS_COMMIT}
-ech "===== INSTALLING DEPENDENCIES ====="
+echo "===== INSTALLING DEPENDENCIES ====="
python -m pip install \
setuptools \
wheel \
@@ -38,7 +40,7 @@ echo
echo "-- Contents of ./dist --"
ls -ahl dist
-echoo "-- Checking generated dists --"
+echo "-- Checking generated dists --"
python -m twine check dist/*
python -m twine upload --disable-progress-bar --skip-existing dist/* --non-interactive --repository-url https://upload.pypi.org/legacy/
@@ -56,5 +58,5 @@ git init
git remote add origin https://nekokatt:${GITHUB_TOKEN}@github.com/${TRAVIS_REPO_SLUG}
git checkout -B gh-pages
git add -Av .
-git commit -am "Deployed documentation [skip ci]"
+git commit -am "Deployed documentation for ${VERSION}"
git push origin gh-pages --force
