Skip to content

Commit

Permalink
bugfix in dash download
Browse files Browse the repository at this point in the history
  • Loading branch information
mmiesch committed Jun 12, 2021
1 parent 05037e9 commit dc56a40
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -192,14 +192,14 @@ if ( DEFINED ENV{SABER_TESTFILES_BRANCH} )
message( STATUS "Branch name provided by user: ${GIT_BRANCH_SABER}" )
else()
find_branch_name(REPO_DIR_NAME ${repo})
if( DEFINED GIT_BRANCH_FUNC )
if( DEFINED GIT_TAG_FUNC )
set( GIT_BRANCH_SABER ${GIT_TAG_FUNC} ) # Tag is checked out
message( STATUS "SABER is in tag: ${GIT_BRANCH_SABER}" )
set( ECBUILD_DOWNLOAD_BASE_URL https://dashrepo.ucar.edu/api/v1/dataset/147_miesch/version/1.1.0/file )
elseif( DEFINED GIT_BRANCH_FUNC )
set( GIT_BRANCH_SABER ${GIT_BRANCH_FUNC} ) # Branch is checked out
message( STATUS "SABER is in branch: ${GIT_BRANCH_SABER}" )
set( ECBUILD_DOWNLOAD_BASE_URL https://jedi-test-files.s3.amazonaws.com/saber )
elseif( DEFINED GIT_TAG_FUNC )
set( GIT_BRANCH_SABER ${GIT_TAG_FUNC} ) # Tag is checked out
message( STATUS "SABER is in tag: ${GIT_BRANCH_SABER}" )
set( ECBUILD_DOWNLOAD_BASE_URL https://dashrepo.ucar.edu/api/v1/dataset/147_miesch/version/1.1.0/file )
endif()

endif()
Expand Down

0 comments on commit dc56a40

Please sign in to comment.