;Shake changelogs: avoid an error with untagged release version
(cherry picked from commit b102c2ca5d5c7793cd80b4e7a03e5df908528162)
This commit is contained in:
		
							parent
							
								
									81b07dd6f5
								
							
						
					
					
						commit
						d99c5e3087
					
				
							
								
								
									
										3
									
								
								Shake.hs
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Shake.hs
									
									
									
									
									
								
							| @ -639,6 +639,9 @@ main = do | ||||
|             -- a hash (a3f19c15), package release tag (hledger-ui-1.20), or project release tag (1.20) | ||||
|             lastrev | ||||
|               | isOldRelease changelogversion = toTag changelogversion  -- package release tag | ||||
|               | isNewRelease changelogversion = | ||||
|                   trace (out ++ "'s version \""++changelogversion++"\" is not yet tagged, can't list changes") | ||||
|                   "HEAD" | ||||
|               | otherwise = changelogversion | ||||
|                  | ||||
|           -- interesting commit messages between lastrev and HEAD, cleaned up | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user