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.
Community moderators have prevented the ability to post new answers.
Why not have your build server do this? Otherwise - use the git commit sha... You can't really do it with Git since things are not unique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.