View Source

h1. Situation
During a promotion process, make sure that the new build has the same version as the source build.

h1. Demonstration
# Visit the [QA configuration|http://demo.pmease.com/build/46.latest/], and click the promote button.
# Wait a short while, and refresh the page, a new build will be generated as result of the promotion, and the version will be the same as the source build.

h1. Resolution
# Visit [advanced setting of QA configuration|http://demo.pmease.com/setting/advanced/46/]. A variable named _version_ is defined with the value being _$\{build.version\}_. This tells QuickBuild to pass variable _version_ to the Release configuration using value of current build during the promotion process.
# Visit [basic setting of Release configuration|http://demo.pmease.com/setting/basic/47/]. The property _next build version_ is defined as _$\{vars.get("version")\}_. This tells QuickBuild to use value of variable as version of the build being generated during promotion process.

{info}The variable name does not need to be _version_. You may use any other variable name as long as they are consistent in step 1 and step 2.{info}