diff --git a/aptosaurus.sh b/aptosaurus.sh index 805f12a..e531ebb 100755 --- a/aptosaurus.sh +++ b/aptosaurus.sh @@ -158,6 +158,8 @@ task_metafiles() { task_begin "Signing release file"; execute gpg --yes -abs -u "${gpg_key_id}" -o Release.gpg Release task_end $?; + + tasks_run generate-summary; } # Spits out a TSV record with 3 columns: @@ -176,16 +178,20 @@ _generate_summary() { } task_generate-summary() { + task_begin "Regenerating SUMMARY.txt"; _generate_summary >"${dir_repo}/SUMMARY.txt"; + task_end "$?"; } task_update-cron() { tmpfile="$(mktemp --suffix ".aptosaurus.log")"; - set +e; + set +e; # Allow errors - we're handling them explicitly here + # Save the output..... bash ./aptosaurus.sh update | ansi_strip >"${tmpfile}"; exit_code="${?}"; + # ....but only display it if something went wrong if [[ "${exit_code}" -ne 0 ]]; then cat "${tmpfile}"; fi