Updating Version Numbers
In this document
Updating Version Numbers
Overview
Elastic Path provides a script to re-version all Elastic Path Commerce code.
Tip:
On Windows, use either Git Bash, MinGW, or Cygwin to run the script.
Assumptions
The examples on this page make the following assumptions:
- Module directories have the same names as ones provided in source release packages.
- The development branch is checked out.
- The projects are being reversioned to SNAPSHOT versions for development as recommeneded in Construction Practices - Version Numbers.
Versioning Elastic Path Commerce Modules
This script re-versions all Elastic Path Commerce modules.
Example:
- cd <modules-parent-folder>
- ./devops/scripts/set-ep-versions.sh 701.0.0-SNAPSHOT 0.0.0-SNAPSHOT
Usage:
- Set the version for Elastic Path Commerce modules.
- Usage: set-ep-versions.sh [OPTIONS] PLATFORM_VERSION EXTENSION_VERSION
- OPTIONS:
- -b, --build Build modules upon completing the versioning.
- The 'skipAllTests' property is set to speed up build.
- -s, --maven-settings FILE Alternative path for Maven settings.xml to use.
- -h, --help Print this help.