Final Steps

After the sprint is complete, the following needs to be done:

  • Generate a release (project release)
    • The release command renames the dist/next folder to the release name (in the following example, 1.0.0 ) and then generates a new (empty) dist/next folder ready for the next sprint's changes.
  • Generate an artifact (project gen-artifact)
    • gen-artifact creates a zip file that contains a single install.sql file, which points to all the different sub-folders in the dist folder. In this example, it only contains one folder (1.0.0). Over time, the artifact will contain additional releases, as this is what allows Liquibase to upgrade from any point in time.
  • Deploy the artifact (project deploy).
    • The deploy command takes an artifact and upgrades an environment to the latest version. For example, if the artifact includes versions 1-10 and the current environment is on version 8, the installer auto-detects the current state and only runs the changes related to version 9 and version 10.