Commit 50b8b9db authored by boklm's avatar boklm Committed by Matthew Finkel
Browse files

Bug 32768: Create a build-infos.json file

Create a file containing firefox platformVersion and buildID.
parent 9f9deebd
......@@ -273,3 +273,12 @@ END;
zip_src => [ 'mar-tools' ],
zip_args => dest_dir _ '/' _ c('filename') _ '/' _ c('var/martools_filename'),
}) %]
[% IF c("var/build_infos_json") -%]
cat > "[% dest_dir _ '/' _ c('filename') _ '/build-infos.json' %]" << EOF_BUILDINFOS
{
"firefox_platform_version" : "[% c("var/firefox_platform_version") %]",
"firefox_buildid" : "$MOZ_BUILD_DATE"
}
EOF_BUILDINFOS
[% END -%]
......@@ -297,6 +297,9 @@ cp $rootdir/[% c('input_files_by_name/firefox') %]/mar-tools-*.zip "$OUTDIR"/
[% IF c("var/linux") -%]
cp $rootdir/[% c('input_files_by_name/tor') %]/tor-debug.tar.xz "$OUTDIR"/tor-[% c("var/mar_osname") %]-debug.tar.xz
[% END -%]
[% IF c("var/build_infos_json") -%]
cp $rootdir/[% c('input_files_by_name/firefox') %]/build-infos.json "$OUTDIR"/build-infos-[% c("var/mar_osname") %].json
[% END -%]
# Create a tarball with all Linux x86_64 language packs (Bug 32676)
[% IF c("var/release") && c("var/linux-x86_64") && ! c("var/multi_lingual") && ! c("var/testbuild") -%]
......
......@@ -158,6 +158,7 @@ targets:
- fr
- ru
max_torbrowser_incremental_from: 2
build_infos_json: 1
torbrowser-testbuild:
- testbuild
......
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