/version-lister

Retrieve softwares versions

Primary LanguagePHPMIT LicenseMIT

README

Retrieve softwares versions

⚠️ This project is no longer maintained. ⚠️

Usage

Run the script retrieve-versions to retrieve and dump all information into folder generated:

bin/retrieve-versions

Retrieved information can be used in your shell scripts:

# Use local usage

export $(xargs < generated/docker/docker-ce/latest)

curl --location --output /tmp/docker.tgz "${DOCKER_CE_LINUX_RELEASE}"
tar --directory /tmp --extract --file /tmp/docker.tgz

# Use remote usage

export $(curl --location "https://gitlab.com/timonier/version-lister/raw/generated/tianon/gosu/latest" | xargs)

curl --location --output /tmp/docker.tgz "${DOCKER_CE_LINUX_RELEASE}"
tar --directory /tmp --extract --file /tmp/docker.tgz

Links