We build binaries where the version is specified in a header file. We also have a command line tool that can extract the version string from a built binary. What is the easiest way to our custom version string as the release name of a deployment?
During the build:
1. Save extracted version string to a temporary java properties file.
2. Use Variable Inject Task to read properties from the file into Bamboo variables. Set the variable Scope to 'result'.
In your deployment project simply reference the variable in 'release naming' configuration. Sth like ${bamboo.inject.myVersion}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.