CI: fix broken rpm build

This commit is contained in:
Dmitry Maksyoma
2021-09-03 19:58:41 +12:00
parent b5f8a11ce1
commit 91da980dea

View File

@@ -14,7 +14,7 @@ detect_package_format() {
} }
warn_build_tag_not_supported_for_rpm_and_exit() { warn_build_tag_not_supported_for_rpm_and_exit() {
if [[ "$package_format" = "rpm" ]]; then if [[ "$build_tag" && "$package_format" = "rpm" ]]; then
echo >&2 "<build_tag> isn't supported for rpm" echo >&2 "<build_tag> isn't supported for rpm"
exit 1 exit 1
fi fi