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
a548cea9
Commit
a548cea9
authored
Jul 30, 2021
by
Paul McCarthy
🚵
Browse files
Merge branch 'ci/version_check' into 'master'
Ci/version check See merge request fsl/conda/manifest-rules!10
parents
e788d30a
50442ed1
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a548cea9
...
...
@@ -40,8 +40,7 @@ check-version:
-
fsl-ci
-
docker
rules
:
-
if
:
'
$CI_COMMIT_BRANCH
==
"master"'
when
:
never
-
if
:
'
$CI_COMMIT_BRANCH
!=
"master"'
script
:
-
git fetch origin master
-
thisver=$( cat manifest_rules/__init__.py | grep __version__ | cut -d " " -f 3 | tr -d "'")
...
...
manifest_rules/__init__.py
View file @
a548cea9
#!/usr/bin/env python
__version__
=
'0.3.
6
'
__version__
=
'0.3.
7
'
Write
Preview
Markdown
is supported
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