fix pre-release check

This commit is contained in:
Simon Michael 2009-04-02 21:03:32 +00:00
parent 3c1d3a6d7f
commit 4d3a514eba

View File

@ -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: