go install github.com/smashedr/install-release@latest
Docker
docker run --rm -itv ~/bin:/out ghcr.io/smashedr/ir:latest -b /out smashedr/install-release
Note: Docker requires you to mount the target bin directory.
Usage
Install the latest release.
ir owner/repo
Include the latest pre-releases.
ir owner/repo --pre
Install a specific version/tag.
ir owner/repo v1.0.0
Specify repo in any format:
ir owner[/ ]repo
ir owner[/ ]repo[@:/ ]tag
ir github.com/owner[/ ]repo[@:/ ]tag
ir https://github.com/owner[/ ]repo[@:/ ]tag
View Examples
ir smashedr bup
ir smashedr/bup
ir smashedr bup latest
ir smashedr/bup latest
ir smashedr/bup/latest
ir smashedr/bup:latest
ir smashedr/bup@latest
ir github.com/smashedr/bup
ir github.com/smashedr/bup/latest
ir https://github.com/smashedr/bup
ir https://github.com/smashedr/bup@latest