Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This site contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

Updating Version Numbers

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:

  1. cd <modules-parent-folder>
  2. ./devops/scripts/set-ep-versions.sh 701.0.0-SNAPSHOT 0.0.0-SNAPSHOT

Copy

Usage:

  1. Set the version for Elastic Path Commerce modules.
  2.  
  3. Usage: set-ep-versions.sh [OPTIONS] PLATFORM_VERSION EXTENSION_VERSION
  4.  
  5. OPTIONS:
  6. -b, --build Build modules upon completing the versioning.
  7. The 'skipAllTests' property is set to speed up build.
  8. -s, --maven-settings FILE Alternative path for Maven settings.xml to use.
  9. -h, --help Print this help.

Copy