diff --git a/hack/libhack/baseimage.sh b/hack/libhack/baseimage.sh index 9f9b2e2..fcbab64 100644 --- a/hack/libhack/baseimage.sh +++ b/hack/libhack/baseimage.sh @@ -78,7 +78,7 @@ check_drone_releasename() { local drone_releasename local actual_releasename drone_releasename="$(grep -oP '(?<=branch:\srefs/tags/).+(?=-.+)' .drone.yml)" - actual_releasename="$(baseimage_releasename | grep -oP ".+(?=-\d{8})")" + actual_releasename="$(releasename | grep -oP ".+(?=-\d{8})")" if [ "${drone_releasename}" != "${actual_releasename}" ]; then echo "Release name '${drone_releasename}' in .drone.yml does not match \ actual release name '${actual_releasename}' in VERSION."