INNER CODE UNIT · Go
uploadCmdFunc
bliporg/blip · deps/deptool/cmd/main.go:84
func uploadCmdFunc(cmd *cobra.Command, args []string) error {
depName := args[0]
version := args[1]
platform := args[2]
// find git repo root directory
gitRepoRootDir, err := findPathToFirstParentGitRepo()
if err != nil {
return err
}
// construct path to deps directory
depsDirPath := filepath.Join(gitRepoRootDir, "deps")
return deptool.UploadArtifacts(objectStorageBuildFunc, depsDirPath, depName, version, platform)
}
// deptool download <dependency> <version> <platform>