Sha256: 6bd99162c432a601eb826975e5e881af0ea0944e363eab4a6e04ffbeff1baf27

Contents?: true

Size: 691 Bytes

Versions: 1

Compression:

Stored size: 691 Bytes

Contents

#!/usr/bin/env bash

mkdir -p ./lib/vagrant-goodhosts/bundle
cd ./lib/vagrant-goodhosts/bundle
# Download
curl -s https://api.github.com/repos/goodhosts/cli/releases/latest | jq --raw-output '.assets[] | .browser_download_url' | xargs wget -i
# Extract
tar -zxvf goodhosts-1.1.0-darwin-amd64.tar.gz goodhosts && mv goodhosts cli_amd64_osx
tar -zxvf goodhosts-1.1.0-darwin-arm64.tar.gz goodhosts && mv goodhosts cli_arm64_osx
tar -zxvf goodhosts-1.1.0-linux-amd64.tar.gz goodhosts && mv goodhosts cli
tar -zxvf goodhosts-1.1.0-windows-amd64.tar.gz goodhosts.exe && mv goodhosts.exe cli.exe
rm -f ./*.tar.gz
rm -f ./*.txt
# Generate
cd ../../../
gem build vagrant-goodhosts.gemspec
# gem push

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-goodhosts-1.1.2 package.sh