release.sh 247 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

echo "Existing versions"
git tag -l | grep release

echo "Enter the next version"
read new_version

git tag -s release/${new_version}
git push origin master release/${new_version}
rm -rf dist
12
13
python setup.py sdist
twine upload dist/*