Adding script to provide build on commit pushes and publish functionality on tag pushes