Skip to content

Package Tool Version Setter

Lucie Hutchins edited this page Mar 22, 2018 · 5 revisions

A script that sets the tool's release version in the tool's current_release_number file to the value specified by the user.

Usage: ./setToolVersion.sh <tool_name><tool_version>

  1. cd to the repos root directory
  2. run ./setToolVersion.sh <tool_name><tool_version>
Example: ./setToolVersion.sh bamtools v2.5.1

What it does:

  1. Create the base directory for this tool if not exists under EXTERNAL_SOFTWARE_BASE
  2. sets the current release number to the specified value

NOTE: The format of the tool_version argument must follow the pattern specified in REPOS_TAG_PATTERN variable in the tool's specific config file.

 For example in bamtools_package.cfg, 
the pattern Is  REPOS_TAG_PATTERN="^v[0-9]+\.[0-9]+\.[0-9]+$"