lib: parseHledgerVersion: also save the package version as text
This commit is contained in:
parent
cd6288a8eb
commit
6cf40a76d1
@ -92,6 +92,7 @@ data HledgerBinaryVersion = HledgerBinaryVersion {
|
|||||||
hbinVersionOutput :: String
|
hbinVersionOutput :: String
|
||||||
, hbinProgramName :: ProgramName
|
, hbinProgramName :: ProgramName
|
||||||
, hbinPackageVersion :: Version
|
, hbinPackageVersion :: Version
|
||||||
|
, hbinPackageVersionStr :: String
|
||||||
, hbinGitHash :: Maybe GitHash
|
, hbinGitHash :: Maybe GitHash
|
||||||
, hbinReleaseDate :: Maybe Day
|
, hbinReleaseDate :: Maybe Day
|
||||||
, hbinOs :: Maybe OsName
|
, hbinOs :: Maybe OsName
|
||||||
@ -147,6 +148,7 @@ hledgerversionp = do
|
|||||||
{ hbinVersionOutput = ""
|
{ hbinVersionOutput = ""
|
||||||
, hbinProgramName = progName
|
, hbinProgramName = progName
|
||||||
, hbinPackageVersion = pkgversion
|
, hbinPackageVersion = pkgversion
|
||||||
|
, hbinPackageVersionStr = showVersion pkgversion
|
||||||
, hbinGitHash = mgithash
|
, hbinGitHash = mgithash
|
||||||
, hbinReleaseDate = mreldate
|
, hbinReleaseDate = mreldate
|
||||||
, hbinOs = mos
|
, hbinOs = mos
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user