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

project/release: add option to select output directory

Add target to remove the subdirectory including the version number (or
date) from the output directory. The output directory can be selected
with the --output-dir option.
parent 941d866f
......@@ -4,6 +4,7 @@ output_dir: 'release/unsigned'
var:
today: '[% USE date; date.format(format = "%Y-%m-%d") %]'
publish_dir: '[% c("version") %]'
targets:
torbrowser-all:
......@@ -28,6 +29,10 @@ targets:
- release
- torbrowser-all
noversiondir:
var:
publish_dir: ''
release:
var:
build_target: release
......@@ -96,7 +101,7 @@ build: |
#!/bin/sh
set -e
export LC_ALL=C
destdir="[% dest_dir _ '/' _ c("version") %]"
destdir="[% dest_dir _ '/' _ c("var/publish_dir") %]"
mkdir -p "$destdir"
[% IF c("var/torbrowser-windows-i686") -%]
mv [% c('input_files_by_name/windows-i686') %]/* "$destdir"/
......
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