require RELEAEE_BUILD to be 1, not any value
This commit is contained in:
parent
7d3b052fd4
commit
6168537c34
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ type Version = String
|
|||
{- Set when making an official release. (Distribution vendors should set
|
||||
- this too.) -}
|
||||
isReleaseBuild :: IO Bool
|
||||
isReleaseBuild = isJust <$> catchMaybeIO (getEnv "RELEASE_BUILD")
|
||||
isReleaseBuild = (== Just "1") <$> catchMaybeIO (getEnv "RELEASE_BUILD")
|
||||
|
||||
{- Version is usually based on the major version from the changelog,
|
||||
- plus the date of the last commit, plus the git rev of that commit.
|
||||
|
|
Loading…
Reference in a new issue