I need a version number stored in text file. I want to increment it whenever I update a branch on the server automatically. I need that version file alongside all the other files.
Is there anyway to do this? After brief research it seems I can do this with GIT hooks, but these are not available for use with bitbucket.