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 932ee01 commit 8ca63e9Copy full SHA for 8ca63e9
etc/scripts/release.hs
@@ -221,9 +221,11 @@ rules global@Global{..} args = do
221
[ "-u", gGpgKey
222
, dropExtension out ]
223
224
- installBinDir </> stackExeFileName %> \_ -> do
+ installBinDir </> stackExeFileName %> \out -> do
225
alwaysRerun
226
- cmd stackProgName (stackArgs global) "build --pedantic"
+ actionOnException
227
+ (cmd stackProgName (stackArgs global) "--install-ghc build --pedantic")
228
+ (removeFile out)
229
230
debDistroRules ubuntuDistro ubuntuVersions
231
debDistroRules debianDistro debianVersions
0 commit comments