Skip to content
Snippets Groups Projects
Commit 7ead642b authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[build] Fix base_build() logs

parent 85ce33df
No related branches found
No related tags found
1 merge request!160Fix base_build() with a proper support for multi-package-building through conda-build
Pipeline #40142 failed
...@@ -633,21 +633,19 @@ def base_build( ...@@ -633,21 +633,19 @@ def base_build(
if all(urls): if all(urls):
logger.info( logger.info(
"Skipping build for %s as packages with matching " "Skipping build(s) for recipe at '%s' as packages with matching "
"characteristics exist (%s)", "characteristics exist (%s)",
path, recipe_dir,
", ".join(urls), ", ".join(urls),
) )
return return
if any(urls): if any(urls):
logger.error( raise RuntimeError(
"One or more packages for %s already exist (%s). " "One or more packages for recipe at '%s' already exist (%s). "
"Change the package build number to trigger a build.", "Change the package build number to trigger a build." % \
path, (recipe_dir, ", ".join(urls)),
", ".join(urls),
) )
return
# if you get to this point, just builds the package(s) # if you get to this point, just builds the package(s)
logger.info("Building %s", path) logger.info("Building %s", path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment