I have a Bamboo server that is currently setup to test my builds on my project. I want to start versioning my project using NPM version or grunt bump.
Here is the current Bamboo setup I have,
- Bamboo detects repo change
- Runs all the test
- If the branch is the 'master' branch, then do a post job of moving our production code into an artifactory (we just zip up the appropriate files and drop them into it).
I would like to be able to increment the version between step 2 and 3 if the branch is 'master'.
I'm trying to come up with a good solution for this.
I'm wondering if something like just doing npm version or npm bump is enough? It seems that I would want to them commit that back to the git repo?
Looking for some possible suggestions