using short version numbers - datacharmer/dbdeployer GitHub Wiki
Using short version numbers
[HOME]
You can use, instead of a full version number (e.g. 8.0.11
,) a short one, such as 8.0
. This shortcut works starting with version 1.6.0.
When you invoke dbdeployer with a short number, it will look for the highest revision number within that version, and use it for deployment.
For example, if your sandbox binary directory contains the following:
5.7.19 5.7.20 5.7.22 8.0.1 8.0.11 8.0.4
You can issue the command dbdeployer deploy single 8.0
, and it will use 8.0.11 for a single deployment. Or dbdeployer deploy replication 5.7
and it will result in a replication system using 5.7.22 (the latest one.)