File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -192,14 +192,14 @@ if ( DEFINED ENV{SABER_TESTFILES_BRANCH} )
192
192
message ( STATUS "Branch name provided by user: ${GIT_BRANCH_SABER} " )
193
193
else ()
194
194
find_branch_name (REPO_DIR_NAME ${repo} )
195
- if ( DEFINED GIT_BRANCH_FUNC )
195
+ if ( DEFINED GIT_TAG_FUNC )
196
+ set ( GIT_BRANCH_SABER ${GIT_TAG_FUNC} ) # Tag is checked out
197
+ message ( STATUS "SABER is in tag: ${GIT_BRANCH_SABER} " )
198
+ set ( ECBUILD_DOWNLOAD_BASE_URL https://dashrepo.ucar.edu/api/v1/dataset/147_miesch/version/1.1.0/file )
199
+ elseif ( DEFINED GIT_BRANCH_FUNC )
196
200
set ( GIT_BRANCH_SABER ${GIT_BRANCH_FUNC} ) # Branch is checked out
197
201
message ( STATUS "SABER is in branch: ${GIT_BRANCH_SABER} " )
198
202
set ( ECBUILD_DOWNLOAD_BASE_URL https://jedi-test-files.s3.amazonaws.com/saber )
199
- elseif ( DEFINED GIT_TAG_FUNC )
200
- set ( GIT_BRANCH_SABER ${GIT_TAG_FUNC} ) # Tag is checked out
201
- message ( STATUS "SABER is in tag: ${GIT_BRANCH_SABER} " )
202
- set ( ECBUILD_DOWNLOAD_BASE_URL https://dashrepo.ucar.edu/api/v1/dataset/147_miesch/version/1.1.0/file )
203
203
endif ()
204
204
205
205
endif ()
You can’t perform that action at this time.
0 commit comments