fix pre-release check
This commit is contained in:
		
							parent
							
								
									3c1d3a6d7f
								
							
						
					
					
						commit
						4d3a514eba
					
				
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								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:
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user