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

[tor-commits] [Git][tpo/applications/tor-browser-build][main] Bug 41780: Add sha256sums-unsigned-build.txt to artifacts directories



Title: GitLab

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

Commits:

  • 74e56d51
    by Nicolas Vigier at 2026-04-28T12:05:07+02:00
    Bug 41780: Add sha256sums-unsigned-build.txt to artifacts directories
    

1 changed file:

Changes:

  • projects/release/build
    ... ... @@ -71,15 +71,22 @@ RewriteRule ^tor-browser-linux64-(.*)_ALL.tar.xz$ tor-browser-linux-x86_64-$1.ta
    71 71
     [% END -%]
    
    72 72
     EOF
    
    73 73
     
    
    74
    -# empty any existing sh256sums file
    
    75
    -echo -n > sha256sums-unsigned-build.txt
    
    76
    -# concat sha256sum entry for each file in set
    
    77
    -for i in $(ls -1 *.exe *.tar.xz *.dmg *.mar *.zip *.tar.bz2 *.tar.gz *.apk *.bspatch *.json *.deb *.rpm | grep -v '\.incremental\.mar$' | sort)
    
    74
    +for dir in . [% IF c("var/dev_artifacts") %]artifacts/*[% END %]
    
    78 75
     do
    
    79
    -  sha256sum $i >> sha256sums-unsigned-build.txt
    
    76
    +  [ -d "$dir" ] || continue
    
    77
    +  pushd "$dir" > /dev/null
    
    78
    +  # empty any existing sh256sums file
    
    79
    +  echo -n > sha256sums-unsigned-build.txt
    
    80
    +  # concat sha256sum entry for each file in set
    
    81
    +  for i in $(ls -1 *.exe *.tar.xz *.tar.zst *.dmg *.mar *.zip *.tar.bz2 *.tar.gz *.apk *.bspatch *.json *.deb *.rpm *.xpi | grep -v '\.incremental\.mar$' | sort)
    
    82
    +  do
    
    83
    +    sha256sum $i >> sha256sums-unsigned-build.txt
    
    84
    +  done
    
    85
    +
    
    86
    +  [% IF c("var/sign_build") -%]
    
    87
    +    gpg -abs [% c("var/sign_build_gpg_opts") %] sha256sums-unsigned-build.txt
    
    88
    +  [% END -%]
    
    89
    +  popd > /dev/null
    
    80 90
     done
    
    81 91
     
    
    82
    -[% IF c("var/sign_build") -%]
    
    83
    -  gpg -abs [% c("var/sign_build_gpg_opts") %] sha256sums-unsigned-build.txt
    
    84
    -[% END -%]
    
    85 92
     cat sha256sums-unsigned-build.txt

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