TNO Intern

Commit 9e369a4e authored by Hen Brett's avatar Hen Brett 🐔
Browse files

ensuring that git is installed in the check version and changelog

parent 19931fee
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -30,6 +30,9 @@ Check Version and Changelog:
  image: alpine:latest
  script:
    # Fail if version file was not changed
    - apk update
    - apk add git
    - git --version
    - |
      if ! git diff --name-only HEAD~1 HEAD | grep -qE '(^|/)version\.py$|(^|/)VERSION$'; then
        echo "Version number has not been updated."