Browse Source

Merge branch '2.3.x' into 2.4.x

Closes gh-24814
pull/24986/head
Madhura Bhave 5 years ago
parent
commit
c957d97167
  1. 2
      ci/scripts/detect-docker-updates.sh

2
ci/scripts/detect-docker-updates.sh

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
#!/bin/bash
latest_version=$(curl -I -s https://github.com/docker/docker-ce/releases/latest | grep "location:" | awk '{n=split($0, parts, "/"); print substr(parts[n],2);}' | awk '{$1=$1;print}' | tr -d '\r' | tr -d '\n' )
latest_version=$(curl -I -s https://github.com/docker/docker-ce/releases/latest | awk '{print tolower($0)}' | grep "location:" | awk '{n=split($0, parts, "/"); print substr(parts[n],2);}' | awk '{$1=$1;print}' | tr -d '\r' | tr -d '\n' )
if [[ $latest_version =~ (beta|rc) ]]; then
echo "Skip pre-release versions"

Loading…
Cancel
Save