Hook Into Post-Merge?

Ben March 5, 2015

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.

1 answer

0 votes
Daniel Wester
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2015

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events