Skip to content

Commit

Permalink
chore(test): update plugin-cli to 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Jun 24, 2024
1 parent cde0605 commit 03c54a7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/install-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ function detect_osarch() {
os='linux'
arch='x86_64'
;;
'Linux aarch64')
os='linux'
arch='aarch64'
;;
'Darwin x86' | 'Darwin x86_64')
os='osx'
arch='x86_64'
Expand Down Expand Up @@ -44,6 +48,7 @@ if [ ! -f ~/.pact/bin/pact-plugin-cli ]; then
echo " Downloading from: ${DOWNLOAD_LOCATION}"
curl -L -o ~/.pact/bin/pact-plugin-cli-${os}-${arch}.gz "${DOWNLOAD_LOCATION}"
echo " Downloaded $(file ~/.pact/bin/pact-plugin-cli-${os}-${arch}.gz)"
gunzip -N -f ~/.pact/bin/pact-plugin-cli-${os}-${arch}.gz
gunzip -f ~/.pact/bin/pact-plugin-cli-${os}-${arch}.gz
mv ~/.pact/bin/pact-plugin-cli-${os}-${arch} ~/.pact/bin/pact-plugin-cli
chmod +x ~/.pact/bin/pact-plugin-cli
fi

0 comments on commit 03c54a7

Please sign in to comment.