Tests/scripts/wait_until_server_ready.py
def is_release_branch():
    """Check if we are working on a release branch."""
    diff_string_config_yml = run_command("git diff origin/master .circleci/config.yml")
    if re.search(r'[+-][ ]+CONTENT_VERSION: ".*', diff_string_config_yml):
        return True

    return False
Check if we are working on a release branch.
Check if we are working on a release branch.
Check if we are working on a release branch .
def is_release_branch():
    diff_string_config_yml = run_command("git diff origin/master .circleci/config.yml")
    if re.search(r'[+-][ ]+CONTENT_VERSION: ".*', diff_string_config_yml):
        return True
    return False
def is_release_branch ( ) : diff_string_config_yml = run_command ( "git diff origin/master .circleci/config.yml" ) if re . search ( r'[+-][ ]+CONTENT_VERSION: ".*' , diff_string_config_yml ) : return True return False
Check if we are working on a release branch.
Check if we are working on a release branch .
"""Check if we are working on a release branch."""