From cf5978329e858d17f07d6dad5a7f528cbd61a9d1 Mon Sep 17 00:00:00 2001 From: Dom Sekotill Date: Thu, 2 May 2024 01:54:00 +0100 Subject: [PATCH] Improve failure output from CI tag check --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 63985b2..76d875f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -116,7 +116,8 @@ Check Tag: wheel_path = glob("dist/*.whl")[0] wheel = Wheel(wheel_path) - assert Version("$CI_COMMIT_TAG").release == Version(wheel.version).release + assert Version("$CI_COMMIT_TAG").release == Version(wheel.version).release, \ + f"Pkg version {wheel.version} does not match tag" END -- GitLab