We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14816c4 commit 8e332c4Copy full SHA for 8e332c4
1 file changed
DockerExec
@@ -531,8 +531,10 @@ elif [[ "do" == "$ENVIRONMENT" ]]; then
531
532
# shortcut to list all docker containers
533
elif [[ "self-update" == "$ACTION" || "selfupdate" == "$ACTION" ]]; then
534
- # get_latest_git_tag will cd us into the $BASE_DIR directory
+ # get_latest_git_tag will NOT cd us into the $BASE_DIR directory
535
LATEST_TAG=$(get_latest_git_tag)
536
+ cd "$BASE_DIR" || (print_error "Could not change directory to $BASE_DIR" && exit 1)
537
+
538
git checkout --quiet "$LATEST_TAG"
539
print_info "Updated the Docker Proxy Stack. Checked out version $LATEST_TAG." 1
540
0 commit comments