def METHOD_NAME() -> None:
    changes = subprocess.check_output(["git", "status", "--porcelain"]).decode("utf-8").strip()
    if changes != "":
        raise Exception(
            "Bailing: Cannot publish with changes present in git repo:\n{changes}".format(
                changes=changes
            )
        )