Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Cura
CAD
CuraSolidworksPlugin
Commits
62d02faa
Commit
62d02faa
authored
Feb 08, 2020
by
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
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
62d02faa
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment