Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 2.2.3 (Feb 9, 2022)

* Fix: mktemp not working correctly on Alpine Linux (#285)
* Add support of ARM64 (#280)
* Add support for tf.json files on min-required (#277)
* Fix issue #210 - allow non-numeric values for DEBUG (#274)
* Download latest version if user uses regex and TFENV_AUTO_INSTALL is true (#272)
* Add tfenv pin command (#270)

## 2.2.2 (May 6, 2021)

* remove trust from revoked signing key as of hcsec-2021-12
Expand Down
14 changes: 13 additions & 1 deletion libexec/tfenv-install
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,19 @@ fi;
# Add support of ARM64 for Linux & Apple Silicon
case "$(uname -m)" in
aarch64* | arm64*)
TFENV_ARCH="${TFENV_ARCH:-arm64}";
# There is no arm64 support for versions:
# < 0.11.15
# >= 0.12.0, < 0.12.30
# >= 0.13.0, < 0.13.5
if [[ "${version}" =~ 0\.(([0-9]|10))\.\d* ||
"${version}" =~ 0\.11\.(([0-9]|1[0-4]))$ ||
"${version}" =~ 0\.12\.(([0-9]|[1-2][0-9]))$ ||
"${version}" =~ 0\.13\.[0-4]$
]]; then
TFENV_ARCH="${TFENV_ARCH:-amd64}";
else
TFENV_ARCH="${TFENV_ARCH:-arm64}";
fi;
;;
*)
TFENV_ARCH="${TFENV_ARCH:-amd64}";
Expand Down