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
installer
Commits
0c47a1dd
Commit
0c47a1dd
authored
Aug 03, 2021
by
Paul McCarthy
🚵
Browse files
CI: only master branch of fsl/conda/manifest needs to be updated
parent
d83afe2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
.ci/update_manifest.py
View file @
0c47a1dd
...
...
@@ -84,14 +84,14 @@ def main(server=None, token=None, tag=None):
if
token
is
None
:
token
=
os
.
environ
[
'FSL_CI_API_TOKEN'
]
if
tag
is
None
:
tag
=
os
.
environ
[
'CI_COMMIT_TAG'
]
for
destination
in
[
'master'
,
'internal'
]:
branch
=
checkout_and_update_manifest
(
server
,
token
,
tag
,
destination
)
open_merge_request
(
MANIFEST_PATH
,
branch
,
MERGE_REQUEST_MSG
,
server
,
token
,
destination
)
destination
=
'master'
branch
=
checkout_and_update_manifest
(
server
,
token
,
tag
,
destination
)
open_merge_request
(
MANIFEST_PATH
,
branch
,
MERGE_REQUEST_MSG
,
server
,
token
,
destination
)
if
__name__
==
'__main__'
:
...
...
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