[tbb-commits] [Git][tpo/applications/tor-browser-build][main] 2 commits: Bug 40747: Remove empty line at the top of sha256sums-unsigned-build.txt

boklm (@boklm) git at gitlab.torproject.org
Mon Jan 23 16:47:43 UTC 2023



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


Commits:
7f1fcca6 by Nicolas Vigier at 2023-01-23T17:46:39+01:00
Bug 40747: Remove empty line at the top of sha256sums-unsigned-build.txt

- - - - -
80d457f7 by Nicolas Vigier at 2023-01-23T17:46:42+01:00
Bug 40748: Remove warning in dmg2mar when sha256sums-unsigned-build.txt contains an empty line

- - - - -


2 changed files:

- projects/release/build
- tools/dmg2mar


Changes:

=====================================
projects/release/build
=====================================
@@ -51,7 +51,7 @@ RewriteRule ^sha256sums.incrementals.txt.asc$ sha256sums-unsigned-build.incremen
 EOF
 
 # empty any existing sh256sums file
-echo > sha256sums-unsigned-build.txt
+echo -n > sha256sums-unsigned-build.txt
 # concat sha256sum entry for each file in set
 for i in $(ls -1 *.exe *.tar.xz *.dmg *.mar *.zip *.tar.gz *.apk *.json | grep -v '\.incremental\.mar$' | sort)
 do


=====================================
tools/dmg2mar
=====================================
@@ -95,6 +95,7 @@ sub get_dmg_files_from_sha256sums {
     my @files;
     foreach my $line (read_file('sha256sums-unsigned-build.txt')) {
         my (undef, $filename) = split '  ', $line;
+        next unless $filename;
         chomp $filename;
         next unless $filename =~ m/^$appname_dmg-(.+)-macos_(.+)\.dmg$/;
         push @files, { filename => $filename, version => $1, lang => $2 };



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/compare/1a018371496f6af6e96e411290481a26b1fdce52...80d457f762ed187d707dfaf51554631153512579

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/compare/1a018371496f6af6e96e411290481a26b1fdce52...80d457f762ed187d707dfaf51554631153512579
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20230123/811fcd05/attachment-0001.htm>


More information about the tbb-commits mailing list