Skip to content

Commit

Permalink
Print version when installing CLI with curl (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
feedmeapples committed May 24, 2023
1 parent 79d54dc commit 5dcaa37
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions install.sh
Expand Up @@ -106,7 +106,10 @@ main() {
esac
done

say "Downloading Temporal CLI" >&2
local _version
_version="$(ensure get_version "$@")"

say "Downloading Temporal CLI $_version" >&2

local _temp
if ! _temp="$(ensure mktemp -d)"; then
Expand All @@ -124,8 +127,6 @@ main() {
;;
esac

local _version
_version="$(ensure get_version "$@")"
local _url
_url="https://temporal.download/cli/archive/${_version}?platform=${_platform}&arch=${_arch}"

Expand Down

0 comments on commit 5dcaa37

Please sign in to comment.