We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5d3090 commit b78b8b9Copy full SHA for b78b8b9
etc/scripts/release.hs
@@ -199,7 +199,12 @@ rules global@Global{..} args = do
199
200
Stdout dirty <- cmd "git status --porcelain"
201
when (not gAllowDirty && not (null (trim dirty))) $
202
- error ("Working tree is dirty. Use --" ++ allowDirtyOptName ++ " option to continue anyway.")
+ error $ concat
203
+ [ "Working tree is dirty. Use --"
204
+ , allowDirtyOptName
205
+ , " option to continue anyway. Output:\n"
206
+ , show dirty
207
+ ]
208
() <- cmd
209
[gProjectRoot </> releaseBinDir </> binaryName </> stackExeFileName]
210
(stackArgs global)
0 commit comments