Skip to content

Commit

Permalink
Fix deploy script for #12
Browse files Browse the repository at this point in the history
  • Loading branch information
wweir committed Mar 27, 2019
1 parent f9f0ca4 commit ac4e426
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/install
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ succ_message(){
VERSION="$(curl -s "https://api.github.com/repos/wweir/sower/releases/latest" | awk -F '"' '/tag_name/{printf $4}')"
case "$(uname -s)" in
"Darwin")
curl -SLf https://github.com/wweir/sower/releases/download/$VERSION/sower_darwin_amd64.tar.gz | tar xzv
curl -SLf https://github.com/wweir/sower/releases/download/$VERSION/sower-darwin-amd64.tar.gz | tar xzv
sudo mkdir -p /usr/local/bin/
sudo mv sower /usr/local/bin/

Expand Down Expand Up @@ -67,7 +67,7 @@ case "$(uname -s)" in

case "$SIDE" in
"c")
curl -SLf https://github.com/wweir/sower/releases/download/$VERSION/sower_linux_amd64.tar.gz | tar xzv
curl -SLf https://github.com/wweir/sower/releases/download/$VERSION/sower-linux-amd64.tar.gz | tar xzv

sudo mv sower /usr/local/bin/

Expand Down Expand Up @@ -101,7 +101,7 @@ case "$(uname -s)" in
;;

"s")
curl -SLf https://github.com/wweir/sower/releases/download/$VERSION/sower_linux_amd64.tar.gz | tar xzv
curl -SLf https://github.com/wweir/sower/releases/download/$VERSION/sower-linux-amd64.tar.gz | tar xzv
printf "Please enter remote server password (default: 12345678): "
read PASSWORD
echo
Expand Down

0 comments on commit ac4e426

Please sign in to comment.