Skip to content

Commit

Permalink
feat(bump): new release
Browse files Browse the repository at this point in the history
  • Loading branch information
Mte90 committed May 17, 2022
1 parent aa8fb41 commit f58dba2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion lib/vagrant-goodhosts/GoodHosts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ def get_os_binary
return 'cli_amd64_osx'
end
elsif OS.linux?
return 'cli'
if Etc.uname[:version].include? 'ARM64'
return 'cli_arm64_linux'
else
return 'cli_amd64_linux'
end
else
raise Error::WebDriverError, "unknown os: #{host_os.inspect}"
end
Expand Down
2 changes: 1 addition & 1 deletion lib/vagrant-goodhosts/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module VagrantPlugins
module GoodHosts
VERSION = '1.1.2'
VERSION = '1.1.4'
end
end
3 changes: 2 additions & 1 deletion package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ curl -s https://api.github.com/repos/goodhosts/cli/releases/latest | jq --raw-ou
# 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-linux-amd64.tar.gz goodhosts && mv goodhosts cli_amd64_linux
tar -zxvf goodhosts-1.1.0-linux-arm64.tar.gz goodhosts && mv goodhosts cli_arm64_linux
tar -zxvf goodhosts-1.1.0-windows-amd64.tar.gz goodhosts.exe && mv goodhosts.exe cli.exe
rm -f ./*.tar.gz
rm -f ./*.txt
Expand Down

0 comments on commit f58dba2

Please sign in to comment.