File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -166,6 +166,10 @@ if [[ -n "$TARGET_VERSION" && ! "$TARGET_VERSION" =~ ^[A-Za-z0-9._+-]+$ ]]; then
166166 exit 2
167167fi
168168
169+ if [[ -n " $TARGET_VERSION " ]]; then
170+ log_info " Requested release tag: $TARGET_VERSION "
171+ fi
172+
169173if [[ " ${EUID} " -ne 0 ]]; then
170174 log_error " Run this script as root (sudo)."
171175fi
642646fi
643647ARCH=" $( uname -m) "
644648select_release_artifact " $ARCH " " $TARGET_VERSION "
649+ log_info " Download URL: $URL "
645650
646651if [[ -f " server_config.toml" ]]; then
647652 mv -f server_config.toml server_config.toml.backup
@@ -746,6 +751,10 @@ if [[ "$KEY_GENERATED" != true ]]; then
746751 kill " $APP_PID " 2> /dev/null || true
747752 wait " $APP_PID " 2> /dev/null || true
748753
754+ if grep -q " Active Encryption Key" " $TMP_LOG " 2> /dev/null; then
755+ READY=true
756+ fi
757+
749758 if [[ " $READY " == true ]]; then
750759 log_success " Key generated."
751760 EXECUTABLE_ARGS=" "
You can’t perform that action at this time.
0 commit comments