hadolint 2.9.3 → 2.10.0
raw patch · 2 files changed
+2/−11 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- hadolint.cabal +1/−1
- src/Hadolint/Meta.hs +1/−10
hadolint.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: hadolint-version: 2.9.3+version: 2.10.0 synopsis: Dockerfile Linter JavaScript API description: A smarter Dockerfile linter that helps you build best practice Docker images. category: Development
src/Hadolint/Meta.hs view
@@ -5,7 +5,6 @@ where import Data.Version (showVersion)-import Development.GitRev (gitDirty, gitDescribe) import Paths_hadolint (version) @@ -13,12 +12,4 @@ getVersion = "Haskell Dockerfile Linter " ++ getShortVersion getShortVersion :: String-getShortVersion = v ++ d- where- gitVersion = $(gitDescribe)- cabalVersion = showVersion version- dirty = $(gitDirty)- v = case gitVersion of- "UNKNOWN" -> cabalVersion ++ "-no-git"- _ -> gitVersion- d = if dirty then "-dirty" else ""+getShortVersion = showVersion version