Skip to content

Commit 5423cfa

Browse files
fix: streamline version retrieval in test installation script
1 parent c8acc91 commit 5423cfa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/test_install_script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ if ! command -v kosli &> /dev/null; then
5959
exit 1
6060
fi
6161

62-
INSTALLED_VERSION=$(kosli version | grep -o "v[0-9]\+\.[0-9]\+\.[0-9]\+")
62+
INSTALLED_VERSION=$(kosli version -s)
6363
log_info "Installed version: ${INSTALLED_VERSION}"
6464

6565
if [[ "${INSTALLED_VERSION}" == "${SPECIFIC_VERSION}" ]]; then

0 commit comments

Comments
 (0)