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

Bug 41343: Add clean-build-artifacts signing step

Add step to remove Android test artifacts (added in
#41342) that we don't need to publish on dist.tpo.
parent 73047203
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
#!/bin/bash

# This script removes some files we don't need to publish on dist.tpo

set -e

script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
source "$script_dir/functions"

cd "$signed_version_dir"

# Remove Android test artifacts (tor-browser-build#41342)
rm -f -- *-androidTest.apk *-noopt-*.apk
+5 −0
Original line number Diff line number Diff line
@@ -42,6 +42,10 @@ function sync-builder-unsigned-to-local-signed {
  "$script_dir/sync-builder-unsigned-to-local-signed"
}

function clean-build-artifacts {
  "$script_dir/clean-build-artifacts"
}

function sync-before-linux-signer-rcodesign-sign {
  "$script_dir/sync-local-to-linux-signer"
}
@@ -179,6 +183,7 @@ export SIGNING_PROJECTNAME
do_step set-time-on-signing-machine
do_step wait-for-finished-build
do_step sync-builder-unsigned-to-local-signed
do_step clean-build-artifacts
do_step sync-scripts-to-linux-signer
do_step sync-before-linux-signer-rcodesign-sign
do_step linux-signer-rcodesign-sign