Hi,
Simple question, we have a file within our BitBucket Repo called 'VERSION' which is always incremented 'per release'. I want to safeguard commits against accidentally 'decrementing' that file.
Is there a way to achieve this easily or i am looking into 'Pre Commit Hook' here ?
Thanks.
Hi Yasin, welcome to the Community!
Seems like you'd be able to achieve that by using hooks. If you're using Bitbucket Server, you can find the documentation at Using repository hooks. If you're in Cloud, this feature is still not available, but you can vote for it in our issue portal.
Hope that helps!
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.