diff --git a/linux/make_artifacts.sh b/linux/make_artifacts.sh index 689b8728289c..56b19947b2f4 100644 --- a/linux/make_artifacts.sh +++ b/linux/make_artifacts.sh @@ -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