Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions recipe/conda_forge_ci_setup/build_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,17 +228,6 @@ def upload_package(feedstock_root, recipe_root, config_file, validate, private,
"is not allowed" % ("conda-forge", source_channel))
return

build_tool = determine_build_tool(feedstock_root)
if build_tool != CONDA_BUILD and upload_to_conda_forge:
# make sure that we are not uploading to the main conda-forge channel
# when building packages with `rattler-build`
if ["conda-forge", "main"] in channels:
print(
"Uploading to conda-forge's main channel is not yet allowed when building with rattler-build.\n"
"You can set a label channel in the channel_targets section of the config file\n"
"to upload to a label channel."
)
return

# get the git sha of the current commit
git_sha = subprocess.run(
Expand Down
3 changes: 2 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% set name = "conda-forge-ci-setup" %}
{% set version = "4.9.4" %}
{% set version = "4.10.0" %}
{% set build = 0 %}

{% set cuda_compiler_version = cuda_compiler_version or "None" %}
{% if cuda_compiler_version == "None" %}
# prioritize non-CUDA variant via build number
Expand Down