mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-27 12:24:43 +03:00
;Shake changelogs: avoid an error with untagged release version
(cherry picked from commit b102c2ca5d
)
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