Checkout the version-tag

Checkout the version-tag that has been found.

Uses git reset --hard tags/"version-tag"

I'm not a git expert , but I did a bit of testing and ihis shouldn't conflict with builds at a later time. 
"git reset --hard" is just moving head back in history, and won't interfere with a later git update nor with a new "git reset".