18 lines
391 B
Bash
Executable File
18 lines
391 B
Bash
Executable File
#!/bin/bash
|
|
# Get working dir (this will make sure that the script will work the same anywhere you run it)
|
|
WK_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
cd $WK_DIR
|
|
cd ..
|
|
|
|
sh bin/clean.sh
|
|
|
|
python setup.py sdist bdist_wheel
|
|
|
|
git add .
|
|
git commit -m "Deployong new version - $(cat .version)"
|
|
git push
|
|
|
|
git tag $(cat .version)
|
|
git push -u origin $(cat .version)
|
|
|
|
twine upload dist/* |