Skip to content

Commit

Permalink
Fix issues while building linux static binary
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffhappily committed Mar 30, 2020
1 parent 4b0bb64 commit 657d978
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
.stack-root/
/.cabal-sandbox/
TAGS
/Setup/
/Setup
cabal-dev/
cabal.sandbox.config
dist/
Expand Down
2 changes: 1 addition & 1 deletion etc/scripts/release.hs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ rules global@Global{..} args = do
unless gUploadOnly $ releaseDir </> binaryExeFileName %> \out -> do
need [releaseBinDir </> binaryName </> stackExeFileName]
(Stdout versionOut) <- cmd (releaseBinDir </> binaryName </> stackExeFileName) "--version"
() <- cmd "git diff"
-- () <- cmd "git diff"
when (not gAllowDirty && "dirty" `isInfixOf` lower versionOut) $
error ("Refusing continue because 'stack --version' reports dirty. Use --" ++
allowDirtyOptName ++ " option to continue anyway.")
Expand Down

0 comments on commit 657d978

Please sign in to comment.