You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Re-use the host docker socket, adding the Docker CLI to a container. Feature invokes a script to enable using a forwarded Docker socket within a container to run Docker commands.",
# Function to fetch the previous version of the plugin
14
+
get_previous_version() {
15
+
sudo curl -s "$repo_url"| jq -r 'del(.[].assets) | .[0].tag_name'# this would del the assets key and then get the second encountered tag_name's value from the filtered array of objects
16
+
}
17
+
18
+
install_compose_switch_fallback() {
19
+
echo -e "\n(!) Failed to fetch the latest artifacts for compose-switch ${test_compose_switch_version}..."
20
+
previous_version=$(get_previous_version)
21
+
echo -e "\nAttempting to install ${previous_version}"
0 commit comments