Add exit trapping code back to make_artifacts.sh.

Otherwise it never exits!
This commit is contained in:
John MacFarlane
2023-01-25 10:27:39 -08:00
parent d3f0cb7a2f
commit ad3d7c1914
+8
View File
@@ -16,6 +16,14 @@ esac
ARTIFACTS="${ARTIFACTS:-/artifacts}"
# This is our sentinel that tells us when we're done.
rm -f $ARTIFACTS/DONE
clean_up() {
echo "All done!" > "$ARTIFACTS/DONE"
}
trap clean_up EXIT
# build binaries
cabal --version