andre-filho/commit-helper

View on GitHub
deploy.sh

Summary

Maintainability
Test Coverage
#! /bin/bash

python3 setup.py sdist bdist_wheel

if [ "$1" == "test" ]; then
  twine upload --repository-url https://test.pypi.org/legacy/ dist/* --verbose -u $TWINE_USERNAME -p $TWINE_PASSWORD_TEST --skip-existing
fi

if [ "$1" == "deploy" ]; then
  twine upload dist/* --verbose -u $TWINE_USERNAME -p $TWINE_PASSWORD --skip-existing
fi