From 5033687724bad11cac7b22b8346bcaa635819725 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 12 Mar 2023 12:25:22 -0700 Subject: More cirrus tweaks. Ensure that the binary is built again even if it exists in the cache. --- linux/make_artifacts.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'linux') diff --git a/linux/make_artifacts.sh b/linux/make_artifacts.sh index ff7650129..f795655a4 100644 --- a/linux/make_artifacts.sh +++ b/linux/make_artifacts.sh @@ -21,7 +21,7 @@ mkdir -p $ARTIFACTS rm -f $ARTIFACTS/DONE clean_up() { - echo "All done!" > "$ARTIFACTS/DONE" + echo "Exiting with error..." } trap clean_up EXIT @@ -29,14 +29,13 @@ echo "Copying and stripping pandoc binary" cp "$ROOT/pandoc" "$ARTIFACTS/pandoc" strip "$ARTIFACTS/pandoc" -echo "Performing sanity checks on binary..." -# Confirm that we have static builds +echo "Checking that the binary is statically linked..." file "$ARTIFACTS/pandoc" | grep "statically linked" -# Confirm that it has +lua and +server support +echo "Checking that the binary has +lua and +server support..." "$ARTIFACTS/pandoc" --version | grep -q '+server +lua' -# Confirm that it has data files baked in: +echo "Checking that the binary has data files baked in..." strings "$ARTIFACTS/pandoc" | grep -q '\$title\$' make_deb() { @@ -107,4 +106,5 @@ make_deb echo "Making tarball..." make_tarball +echo "Finished!" exit 0 -- cgit v1.2.3