testing new version ctrl

This commit is contained in:
ari committed 2018-10-28 23:50:51 -04:00
1 parent 0f50a0041f
commit e51618231d
4 files changed
+13 -3

No files matched your search

+5 -1
View File
@@ -4,7 +4,11 @@ WK_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $WK_DIR
cd ..
sh bin/clean/sh
sh bin/clean.sh
python setup.py sdist bdist_wheel
git tag $(cat .version)
git push -u origin $(cat .version)
twine upload dist/*
+4
View File
@@ -27,3 +27,7 @@ def update_pdfmajor__init___(version: str, doc: str):
long_description=doc,
version_tuple=re.sub(r"\.", ", ", version, count=2)
))
def update_current_version_lock(version: str):
with open(".version", 'w') as file:
file.write("v"+version)