Commit c957d971 authored by Madhura Bhave's avatar Madhura Bhave

Merge branch '2.3.x' into 2.4.x

Closes gh-24814
parents ceff47af c34188f0
#!/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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment