SFDO-Tooling / CumulusCI

Python framework for building portable automation for Salesforce projects

Home Page:http://cumulusci.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github_release_report errors if ANY release is missing notes

yippie opened this issue · comments

Describe the bug

Task github_release_report throw an error Error: 'NoneType' object has no attribute 'splitlines' when trying to parse the Release Body if any release in all of the repo history has a blank body.

To make this worse, blank body is the default behavior of the github_release task so it is very, very easy to hit this situation and make the report useless

Reproduction steps

  1. Use cci task run github_release to create a release
  2. attempt to report on it with cci task run github_release_report

EXPECTED: report to run
ACTUAL: Error: 'NoneType' object has no attribute 'splitlines'

Your CumulusCI and Python versions

CumulusCI version: 3.77.0 (/Users/kai.amundsen/.local/bin/cci)
Python version: 3.10.9 (/Users/kai.amundsen/.local/pipx/venvs/cumulusci/bin/python)

Operating System

macOS 13.4.1

Windows environment

No response

CumulusCI installation method

pipx

Error Gist

No response

Additional information

No response