Commit 62d02faa authored by Thomas Karl Pietrowski's avatar Thomas Karl Pietrowski
Browse files

CI: Adding check for stable CIU

Signed-off-by: Thomas Karl Pietrowski <thopiekar@gmail.com> (github: thopiekar)
parent 93fdb19e
Pipeline #755 passed with stage
in 3 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:
......
Supports Markdown
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