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

[tor-commits] [Git][tpo/applications/tor-browser-bundle-testsuite][main] Bug 40094: Update tools/tb-build-06-start-nightly-build to archive artifacts...



Title: GitLab

boklm pushed to branch main at The Tor Project / Applications / tor-browser-bundle-testsuite

Commits:

  • 29435780
    by Nicolas Vigier at 2026-01-12T17:11:42+01:00
    Bug 40094: Update tools/tb-build-06-start-nightly-build to archive artifacts to the toolchains/$ffversion directory
    

1 changed file:

Changes:

  • tools/tb-build-06-start-nightly-build
    ... ... @@ -35,6 +35,21 @@ then
    35 35
       for dir in ~/nightly-builds/tor-browser-builds/"$today_version"/*
    
    36 36
       do
    
    37 37
         test -d "$dir" || continue
    
    38
    +
    
    39
    +    # Move artifacts to the toolchains directory
    
    40
    +    for artifactsdir in "$dir"/artifacts/*
    
    41
    +    do
    
    42
    +      test -f "$artifactsdir/firefox_platform_version.txt" || continue
    
    43
    +      ffversion=$(cat "$artifactsdir/firefox_platform_version.txt")
    
    44
    +      dname_artifacts=$(basename "$artifactsdir")
    
    45
    +      toolchaindir=~/nightly-builds/toolchains/"$ffversion/$dname_artifacts"
    
    46
    +      rm -Rf "$toolchaindir"
    
    47
    +      mkdir -p "$toolchaindir"
    
    48
    +      mv "$artifactsdir"/* "$toolchaindir"
    
    49
    +      rm -Rf "$artifactsdir"
    
    50
    +      ln -sr "$toolchaindir" "$artifactsdir"
    
    51
    +    done
    
    52
    +
    
    38 53
         dname=$archive_dir/$(basename "$dir")
    
    39 54
         mkdir -p "$dname"
    
    40 55
         test -d "$dir/logs" && cp -a "$dir/logs" "$dname"
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx