Always run git reset --hard before version increment

This commit is contained in:
twinaphex 2019-05-06 04:39:05 +02:00
parent 6716a8a89c
commit 1cd0473986

View file

@ -1002,10 +1002,9 @@ key.alias.password=buildbot
EOF
git reset --hard
if [ "${RELEASE}" == "NO" ]; then
python ./version_increment.py
else
git reset --hard
fi
ant clean | tee -a "$LOGFILE"
android update project --path . --target android-26 | tee -a "$LOGFILE"