From 4d3a514eba1913345d9e58cfc2e7065a8ee6ab43 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 2 Apr 2009 21:03:32 +0000 Subject: [PATCH] fix pre-release check --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0d9a3cb78..bc898c784 100644 --- a/Makefile +++ b/Makefile @@ -128,12 +128,12 @@ push: # - The release tag is the non-elided release version. # run pre-release checks: cabal is happy, the code builds, tests pass.. -check: setversion +check: setversion test cabal clean cabal check cabal configure cabal build - dist/build/hledger/hledger test 2>&1 | tail -1 | grep -q 'Errors: 0 Failures: 1' # XXX + dist/build/hledger/hledger test 2>&1 | tail -1 | grep -q 'Errors: 0 Failures: 0' # Build a cabal release, tag the repo and maybe upload to hackage. # Don't forget to update VERSION if needed. Examples: