;shake setversion: tweak commit message

This commit is contained in:
Simon Michael 2020-09-07 12:19:16 -07:00
parent 018bf8f474
commit b02218586b

View File

@ -265,10 +265,10 @@ main = do
-- and maybe commit them
when commit $ do
let msg = unwords [
"; bump"
,case specifiedpkgs of
";bump"
,case dirargs of
[] -> "version"
ps -> intercalate ", " ps ++ " version"
ds -> intercalate ", " ds ++ " version"
,case mver of
Nothing -> ""
Just v -> "to " ++ v