Skip to content

Commit

Permalink
BUG: Ensure package uploaded to Girder include repository type and url
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed May 26, 2021
1 parent bfe7ea2 commit daad7c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMake/SlicerPackageAndUploadTarget.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ if(NOT PACKAGEUPLOAD)
# Variables set by SlicerMacroExtractRepositoryInfo
Slicer_REVISION
Slicer_WC_LAST_CHANGED_DATE
Slicer_WC_URL
)
if(NOT DEFINED ${varname})
message(FATAL_ERROR "Variable ${varname} is expected to be defined.")
Expand Down Expand Up @@ -297,6 +298,8 @@ Check that:
--api-url ${SLICER_PACKAGE_MANAGER_URL}/api/v1
--api-key ${SLICER_PACKAGE_MANAGER_API_KEY}
package upload Slicer ${p}
--repo_type git
--repo_url ${Slicer_WC_URL}
--os ${Slicer_OS}
--arch ${Slicer_ARCHITECTURE}
--name Slicer
Expand Down

0 comments on commit daad7c2

Please sign in to comment.