def METHOD_NAME():
    '''
    STEPS
    1. check Rust Components repo for latest tagged version
    2. compare latest with current SPM and project versions in repo 
    3. if same version exit, if not, continue 
    4. update both SMP and project files
    '''
    rust_component_repo_tag, rust_component_repo_commit = get_latest_rust_components_version()
    current_tag, current_commit = read_rust_components_tag_version()
    current_min_version  = read_project_min_version()
    if compare_versions(current_tag, rust_component_repo_tag):
        # If the version does not match, then the files are updated
        update_spm_file(current_tag, current_commit, rust_component_repo_tag, rust_component_repo_commit, SPM_PACKAGE)
        update_proj_file(current_min_version, rust_component_repo_tag, BLOCKZILLA_PROJECT)
        # Save the newer version to be used in the PR info
        f= open("github-actions-scripts/newest_tag.txt","w+")
        f.write(rust_component_repo_tag+"\n")