File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,6 +61,13 @@ python3 -m pip install --upgrade ${project_root_dir}
6161
6262(cd ${project_root_dir} && tox)
6363
64+ # Push on origin
65+ read -p " Do you want to push version '${version_name} ' ? (yes/[no]) " answer
66+ if [[ " ${answer} " == " y" * ]]; then
67+ git push origin
68+ git push origin ${version_name}
69+ fi
70+
6471# Publish on pypi
6572read -p " Do you want to publish version '${version_name} ' ? (yes/[no]) " answer
6673if [[ " ${answer} " == " y" * ]]; then
@@ -71,10 +78,3 @@ if [[ "${answer}" == "y"* ]]; then
7178 python3 -m build
7279 python3 -m twine upload --repository pypi dist/*
7380fi
74-
75- # Push on origin
76- read -p " Do you want to push version '${version_name} ' ? (yes/[no]) " answer
77- if [[ " ${answer} " == " y" * ]]; then
78- git push origin
79- git push origin ${version_name}
80- fi
You can’t perform that action at this time.
0 commit comments