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
FSL
conda
manifest-rules
Commits
518a7b5e
Commit
518a7b5e
authored
Jul 29, 2021
by
Paul McCarthy
🚵
Browse files
CI: need to fetch master branch
parent
d4a279c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
518a7b5e
...
...
@@ -37,8 +37,9 @@ check-version:
-
fsl-ci
-
docker
script
:
-
thisver=$( cat manifest_rules/__init__.py | grep __version__ | cut -d " " -f 3 | tr -d "'")
-
masterver=$(git show master:manifest_rules/__init__.py | grep __version__ | cut -d " " -f 3 | tr -d "'")
-
git fetch origin master
-
thisver=$( cat manifest_rules/__init__.py | grep __version__ | cut -d " " -f 3 | tr -d "'")
-
masterver=$(git show origin/master:manifest_rules/__init__.py | grep __version__ | cut -d " " -f 3 | tr -d "'")
-
|
if [ "$thisver" = "$masterver" ]; then
echo "Version has not been updated!"
...
...
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