-
Notifications
You must be signed in to change notification settings - Fork 0
Package Tool Version Getter
Lucie Hutchins edited this page Mar 22, 2018
·
3 revisions
A script that downloads and stores locally a file containing the tool's current release info. The script runs before the package manager script to update the local flag.
- cd to the repos root directory
- run ./getToolVersion.sh tool_name
- Create the base directory for this tool if not exists under EXTERNAL_SOFTWARE_BASE
- Fetches the current release into from a remote server
a. For non git repos releases - downloads the current release Readme file (*.txt, *.html, ...)
from the downloads site - parses it to extract the latest release number
b. For git repos releases - clones the repos - extract the latest release number
- Sets the local current release number flag