I'm using Bamboo plan branches. These are deployed through Octopus Deploy. The latter expects a unique release number with every deploy. Bamboo offers auto incrementing for releases of regular branches but not for plan branches. This is a true pain.
The only solution I see is to have a plan-level (or higher will do too) variable that I can increment and update with every deployment. But so far I have tried:
- to update a regular Bamboo variable
- to write the variable to a globally accessible file with Powershell, but the scope of a script is the current deployment directory
- to use system variables, but I wasn't able to write to these from script either
Is any of this possible and if so: how? Or is there a better solution to my core problem?
Thanks, Pascal