Skip to content

Commit

Permalink
Stop to require communication with AWS just to get the version
Browse files Browse the repository at this point in the history
J:IDXINFRA-2078
  • Loading branch information
klalumiere committed Nov 11, 2024
1 parent 3e6f08e commit 09ba2e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get-latest-tgf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fi

get_local_tgf_version () {
# The sed regex extracts for example 1.23.2 from "tgf v1.23.2", so as to be comparable to get_latest_tgf_version()
[ -r "${TGF}" ] && TGF_LOCAL_VERSION=$(${TGF} --current-version | sed -E -e 's/^.* v(.*)/\1/')
[ -r "${TGF}" ] && TGF_LOCAL_VERSION=$(${TGF} -H | grep 'VERSION: ' | sed 's/VERSION: //')
}

get_latest_tgf_version () {
Expand Down

0 comments on commit 09ba2e4

Please sign in to comment.