[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser-build][main] Bug 41168: Check that we are not changing other channel when deploying update_responses



Title: GitLab

richard pushed to branch main at The Tor Project / Applications / tor-browser-build

Commits:

  • 2303997c
    by Nicolas Vigier at 2024-07-17T16:45:08+02:00
    Bug 41168: Check that we are not changing other channel when deploying update_responses
    

1 changed file:

Changes:

  • tools/signing/upload-update_responses-to-staticiforme
    ... ... @@ -63,6 +63,18 @@ echo "update_responses_commit: $update_responses_commit"
    63 63
     
    
    64 64
     cd "$update_dir"
    
    65 65
     git fetch
    
    66
    +changed_files="\$(git diff --name-only HEAD $update_responses_commit)"
    
    67
    +if ! echo "\$changed_files" | grep -qv "$tbb_version_type"
    
    68
    +then
    
    69
    +  echo >&2 "Error: checking out new update_response_commit will changes"
    
    70
    +  echo >&2 "some files outside of the $tbb_version_type directory:"
    
    71
    +  echo "\$changed_files" | grep -v "$tbb_version_type" >&2
    
    72
    +  echo >&2 "--"
    
    73
    +  echo >&2 "If this is really what you want to do, edit this script to"
    
    74
    +  echo >&2 "remove the line 'exit 1' and run it again."
    
    75
    +  echo >&2 "See tor-browser-build#41168 for more details."
    
    76
    +  exit 1
    
    77
    +fi
    
    66 78
     git checkout "$update_responses_commit"
    
    67 79
     
    
    68 80
     static-update-component aus1.torproject.org
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits