Commit 7be51db6 authored by Thomas Karl Pietrowski's avatar Thomas Karl Pietrowski
Browse files

Merge branch 'master-adding-ciu-latest-check' into 'master'

Adding check for latest CIU

See merge request !1
parents 05bf26cb 38102461
Pipeline #774 failed with stages
in 38 seconds
......@@ -19,6 +19,24 @@ codestyle-pep8:
- branches
- tags
check-ciu-stable:
stage: verify
tags:
- os:ubuntu
- type:shell
script:
- cd ./*/CadIntegrationUtils/
- git fetch --all --tags
- export CIU_LATEST_STABLE=$(git rev-list -n 1 stable)
- export CIU_CURRENT=$(git rev-parse HEAD)
- 'echo "CURRENT: ${CIU_CURRENT}"'
- 'echo "LATEST_STABLE: ${CIU_LATEST_STABLE}"'
- '[[ "${CIU_CURRENT}" == "${CIU_LATEST_STABLE}" ]] && exit 0 || exit 1'
only:
- triggers
- merge_requests
- tags
package:
stage: build
tags:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment