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 5f85afd7 authored by boklm's avatar boklm
Browse files

projects/release: reset HOME for gpg

If HOME is set to a temporary directory, $HOME/.gnupg cannot be used to
sign the build.
parent efdf11ac
......@@ -120,6 +120,8 @@ input_files:
build: |
#!/bin/sh
[% c("var/set_default_env") -%]
# reset HOME which was changed by var/set_default_env, for gpg
[% IF ENV.HOME %]export HOME="[% ENV.HOME %]"[% END %]
destdir="[% dest_dir _ '/' _ c("var/publish_dir") %]"
mkdir -p "$destdir"
[% IF c("var/torbrowser-windows-i686") -%]
......
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