commit a7dd0dd538533f35edf2dcd18d99b59447a2517b Author: Nicolas Vigier boklm@torproject.org Date: Fri Dec 22 13:50:37 2017 +0100
Bug 23911: Create .htaccess file in build directory --- projects/release/build | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/projects/release/build b/projects/release/build index 2be0c49..985ffa3 100644 --- a/projects/release/build +++ b/projects/release/build @@ -23,6 +23,13 @@ mkdir -p "$destdir" mv [% c('input_files_by_name/sandbox-linux-x86_64') %] "$destdir"/sandbox-[% pc('sandbox', 'version') %]-linux64.zip [% END -%] cd "$destdir" +cat > .htaccess <<EOF +RewriteEngine On +RewriteRule ^sha256sums.txt$ sha256sums-unsigned-build.txt +RewriteRule ^sha256sums.txt.asc$ sha256sums-unsigned-build.txt.asc +RewriteRule ^sha256sums.incrementals.txt$ sha256sums-unsigned-build.incrementals.txt +RewriteRule ^sha256sums.incrementals.txt.asc$ sha256sums-unsigned-build.incrementals.txt.asc +EOF sha256sum $(ls -1 *.exe *.tar.xz *.dmg *.mar *.zip | grep -v '.incremental.mar$' | sort) > sha256sums-unsigned-build.txt [% IF c("var/sign_build") -%] gpg -abs [% c("var/sign_build_gpg_opts") %] sha256sums-unsigned-build.txt
tbb-commits@lists.torproject.org