Thank you for your question.
I would kindly ask you to set up a system environment variable as per following, on Linux:
export RELEASE_DATE=`date +%Y-%m-%d` # as a response, you should expect echo $RELEASE_DATE 2015-04-24
In case you are running Bamboo server on a Windows OS, please add a system environment variable as per following:
set RELEASE_DATE=!date:~10,4!-!date:~6,2!-!date:~4,2! # as a response, you should expect echo %RELEASE_DATE% 2015-04-24
Alternatively, Managing Environment Variables documentation.
Please, stop and start Bamboo so the new environment variable will become available to Bamboo.
Please, go to Bamboo's Release versioning screen and add the following under "Next release >> Version" input field:
Please, refer to Naming versions for deployment releases documentation for further information.
If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.
Thank you for your understanding.
Rafael P. Sperafico
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs