TNO Intern

Commit 3e979751 authored by Hen Brett's avatar Hen Brett 🐔
Browse files

Changing the gitlab-ci.yml so that the version number and the changelog has to...

Changing the gitlab-ci.yml so that the version number and the changelog has to be updated before merging to main
parent 6b53e2b5
Loading
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
stages:
  - test
  - changelog-version
  - check-version-changelog
  - deploy-documentation

Run tests:
@@ -25,8 +25,8 @@ Run tests:
    - main
    - merge_requests

changelog-version:
  stage: changelog-version
Check Version and Changelog:
  stage: check-version-changelog
  image: alpine:latest
  script:
    # Fail if version file was not changed
@@ -53,8 +53,11 @@ changelog-version:
        echo "Pipeline failed: version and/or changelog missing"
        exit 1
      fi
  only:
    - main
    - merge_requests

deploy-documentation:
Deploy Documentation:
  stage:  deploy-documentation
  image: python:latest
  script: