aboutsummaryrefslogtreecommitdiffhomepage
path: root/update-pypi.bash
blob: 9410f8dd8fac04553cafee7da935a07ee2875ed2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash

set -e
python3 -c 'import pypandoc'

rm -rf dist/
python3 setup.py sdist           # source distribution
python3 setup.py bdist_wheel     # built package
# gpg --detach-sign -a dist/*

read -p "Password: " password
twine upload dist/* -p "$password"