From abab5c142510a07714603c949c13400b093b80cf Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 17 Feb 2020 17:01:24 +0000 Subject: [PATCH] build.sh: Send email after the upload was successful Signed-off-by: Michael Tremer --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 4afedbc..606778b 100755 --- a/build.sh +++ b/build.sh @@ -162,14 +162,14 @@ build() { fi mv -v log/ "${build}" - # Send an email notification - send_email "${status}" "${target}" "${branch}" "${commit_new}" "${build}" - # Cleanup the build environment ./make.sh --target="${target}" clean # Upload the result sync + + # Send an email notification + send_email "${status}" "${target}" "${branch}" "${commit_new}" "${build}" done popd -- 2.47.3