File: publish.sh

package info (click to toggle)
python-falcon 3.1.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,204 kB
  • sloc: python: 28,455; makefile: 184; sh: 139; javascript: 66
file content (8 lines) | stat: -rwxr-xr-x 193 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
DIST_DIR=./dist

read -p "Sign and upload $DIST_DIR/* to PyPI? [y/N]: " CONTINUE

if [[ $CONTINUE =~ ^[Yy]$ ]]; then
    pip install -U twine
    twine upload -s --skip-existing $DIST_DIR/*
fi