Following on from my previous question regarding feature branches with you can find here Centralized GIT workflow/deployment - Repository Initialization and Feature Branches I've got a few questions about 'Release branches'.
Firstly, I'll go through the workflow:
The state of develop is ready for the “next release” and we have decided that this will become version 1.0
git checkout -b release-1.0 develop
./bump-version.sh 1.0
OK my first question. Do I need to create the bump-version script or can I download it from somewhere? What does it specifically do and where does it need to be installed?
I'm a bit confused about your question. Do you need a script that can tell you the actual version number?
You could try git describe master for instance, which will give you a specific name from the latest tag you created. Take a look on the Preparing a release section on the Pro Git book.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With