Skip to content
This repository has been archived by the owner on Nov 4, 2021. It is now read-only.

Latest commit

 

History

History
35 lines (21 loc) · 750 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 750 Bytes

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/tianon/gosu/latest)

curl --location --output /usr/local/sbin/gosu "${GOSU_RELEASE}"
chmod +x /usr/local/sbin/gosu

# Use remote usage

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

curl --location --output /usr/local/sbin/gosu "${GOSU_RELEASE}"
chmod +x /usr/local/sbin/gosu

Links