Pre-built binary downloader
yarn -D add goforblob
Setup Goreleaser to build and release your binaries.
Create a "goforblob"
property in your package.json
:
"goforblob": {
"name": "my-cool-program",
"url": "https://github.com/username/my-cool-program/releases/download/v{version}/{name}_{version}_{platform}_{arch}.tar.gz",
}
"scripts": {
"install": "goforblob install",
"uninstall": "goforblob uninstall"
}