Synonyms/scripts/publish.sh
Hai Liang Wang 2167069153 init
2017-09-27 15:27:47 +08:00

15 lines
321 B
Bash
Executable File

#! /bin/bash
###########################################
#
###########################################
# constants
baseDir=$(cd `dirname "$0"`;pwd)
# functions
# main
[ -z "${BASH_SOURCE[0]}" -o "${BASH_SOURCE[0]}" = "$0" ] || return
cd $baseDir/..
source ~/venv-py3/bin/activate
python setup.py sdist upload -r pypi