diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b11934cb567667dd730c391778cf9ea73cb274cc..f29b5e548ff64c36310ee31b022ae648a09d370b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,7 +33,6 @@ 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: @@ -89,6 +88,8 @@ 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: