release: Use the right variable to build predictable tarball path.

`tools/build-release-tarball` respects `OUTPUT_DIR`, not `OUTDIR`.
This commit is contained in:
Alex Vandiver 2022-07-19 22:59:00 +00:00 committed by Tim Abbott
parent ccbdbe4e3b
commit 58962f0b7b
1 changed files with 3 additions and 3 deletions

View File

@ -104,9 +104,9 @@ git tag "$version"
remote="$(git config zulip.zulipRemote)" || remote=upstream
git push "$remote" "$branch:$branch"
OUTDIR=$(mktemp -d)
trap 'rm -r "$OUTDIR"' EXIT
export OUTDIR
OUTPUT_DIR=$(mktemp -d)
trap 'rm -r "$OUTPUT_DIR"' EXIT
export OUTPUT_DIR
./tools/build-release-tarball "$version"