be sure that the tag is created and consistent.

Still experimental but will solve a fews issue if work
This commit is contained in:
Pablo Lezaeta Reyes [pˈaβ̞lo lˌe̞θaˈeta rˈejɛ] 2017-04-23 01:51:52 -04:00 committed by GitHub
parent 0bf0e39bad
commit db40143322

View file

@ -98,7 +98,7 @@ tag()
version=`./setup.py version` version=`./setup.py version`
if [ "$version" = 'Ponysay '"$1"' installer' ]; then if [ "$version" = 'Ponysay '"$1"' installer' ]; then
git tag -a "$@" && git checkout "$1" && git push -u origin "$1" git tag -a "$@" && git checkout "$1" && git push --tags -u origin "$1"
else else
echo 'Setup script reports. '"$version" echo 'Setup script reports. '"$version"
echo 'This is not consistent with desired tag version: '"$1" echo 'This is not consistent with desired tag version: '"$1"