diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f29b5e548ff64c36310ee31b022ae648a09d370b..b11934cb567667dd730c391778cf9ea73cb274cc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,6 +33,7 @@ build wheel:
     # TODO:  consider moving git installation to ska-python-buildenv Dockerfile
     - apt-get -y update
     - apt-get install -y git --no-install-recommends
+    - scripts/validate-metadata.sh
     - python setup.py sdist bdist_wheel
   artifacts:
     paths:
@@ -88,8 +89,6 @@ publish to nexus:
     TWINE_USERNAME: $TWINE_USERNAME
     TWINE_PASSWORD: $TWINE_PASSWORD
   script:
-    # Check metadata requirements
-    - scripts/validate-metadata.sh
     - pip install twine
     - twine upload --repository-url $PYPI_REPOSITORY_URL dist/*
   only: