Skip to content
Permalink
Browse files

Fix version command

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information...
alexellis committed Aug 22, 2019
1 parent 32012d6 commit 89d87edf37b3aabaadc472196baaffe095d88c0e
Showing with 2 additions and 2 deletions.
  1. +2 −2 get.sh
4 get.sh
@@ -3,7 +3,7 @@

export OWNER=alexellis
export REPO=inlets
export SUCCESS_CMD="$REPO --version"
export SUCCESS_CMD="$REPO version"

version=$(curl -sI https://github.com/$OWNER/$REPO/releases/latest | grep Location | awk -F"/" '{ printf "%s", $NF }' | tr -d '\r')

@@ -93,7 +93,7 @@ getPackage() {
echo
echo " sudo cp $REPO$suffix /usr/local/bin/$REPO"
echo
./$REPO$suffix --version
./$REPO$suffix version
else

echo

0 comments on commit 89d87ed

Please sign in to comment.
You can’t perform that action at this time.