GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Unverified Commit c0242adc authored by boklm's avatar boklm
Browse files

Add option to sign the sha256sums-unsigned-build.txt file

parent 444f6e22
......@@ -149,6 +149,15 @@ the build files in the tor-browser-builds/ directory (unless you changed
the publish_dir option).
Signing builds
--------------
If the environment variable RBM_SIGN_BUILD is set to 1, the
sha256sums-unsigned-build.txt file will be signed with gpg.
You can use the RBM_GPG_OPTS environment variable to add some options
to the gpg command used to sign the file.
Cleaning obsolete files and containers images
---------------------------------------------
......
......@@ -125,4 +125,7 @@ build: |
[% END -%]
cd "$destdir"
sha256sum $(ls -1 *.exe *.tar.xz *.dmg *.mar *.zip | grep -v '\.incremental\.mar$' | sort) > sha256sums-unsigned-build.txt
[% IF ENV.RBM_SIGN_BUILD -%]
gpg -abs [% ENV.RBM_GPG_OPTS %] sha256sums-unsigned-build.txt
[% END -%]
cat sha256sums-unsigned-build.txt
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment