Skip to content

Commit

Permalink
Merge pull request #703 from conda-forge/beckermr-patch-1
Browse files Browse the repository at this point in the history
fix: bug in processing version requests / inputs
  • Loading branch information
beckermr authored Oct 1, 2024
2 parents be7c25e + 6ec6e6c commit 815a80d
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,15 @@ def main_run_task(task, repo, pr_number, task_data_dir, requested_version):
task_data["task_results"]["info_message"] = info_message
task_data["task_results"]["commit_message"] = commit_message
elif task == "version_update":
if requested_version == "null" or not requested_version:
if (
requested_version.lower() == "null"
or requested_version.lower() == "none"
or not requested_version
):
requested_version = None

LOGGER.info(
"version update requested version: %s",
"version update requested version: '%s'",
requested_version,
)
_pull_docker_image()
Expand Down

0 comments on commit 815a80d

Please sign in to comment.