Skip to content

Commit f82abeb

Browse files
committed
2 parents e87b8fc + ebbc91a commit f82abeb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/test_install_and_use.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@ v=$(tfenv list-remote | grep 0.8 | head -n 1)
3636
check_version ${v} || exit 1
3737
) || error_and_proceed "Installing latest version ${v} with Regex"
3838

39+
echo "### Install latest version with Regex"
40+
cleanup
41+
42+
v=$(tfenv list-remote | grep 0.8 | head -n 1)
43+
tfenv install latest:^0.8
44+
tfenv use latest:^0.8
45+
if ! check_version ${v}; then
46+
echo "Installing latest version ${v} with Regex" 1>&2
47+
exit 1
48+
fi
49+
3950
echo "### Install specific version"
4051
cleanup || error_and_die "Cleanup failed?!"
4152

0 commit comments

Comments
 (0)