1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-11-12 19:47:18 +00:00

Fix leftover legacy function names from libhack refactor

This commit is contained in:
Kristóf Tóth 2018-06-18 15:17:43 +02:00
parent 8128866c86
commit 0f9b5920c1

View File

@ -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."