Skip to content
Snippets Groups Projects
Commit 2cc53ae6 authored by Anton Joubert's avatar Anton Joubert
Browse files

Include git installation for katversion in publish

The docker image used doesn't contain git, so install it for katversion
to use when checking the package metadata (version).
parent 08ed8c16
No related branches found
No related tags found
No related merge requests found
...@@ -88,6 +88,10 @@ publish to nexus: ...@@ -88,6 +88,10 @@ publish to nexus:
TWINE_USERNAME: $TWINE_USERNAME TWINE_USERNAME: $TWINE_USERNAME
TWINE_PASSWORD: $TWINE_PASSWORD TWINE_PASSWORD: $TWINE_PASSWORD
script: script:
# Note: katversion will include the git hash in the version for non-tagged commits, but need git
# TODO: consider moving git installation to ska-python-buildenv Dockerfile
- apt-get -y update
- apt-get install -y git --no-install-recommends
# Check metadata requirements # Check metadata requirements
- scripts/validate-metadata.sh - scripts/validate-metadata.sh
- pip install twine - pip install twine
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment