mirror of
https://github.com/nix-community/nixpkgs-update.git
synced 2024-11-28 23:22:00 +03:00
attempt to debug why PR messages are being cut off
This commit is contained in:
parent
868f3f7555
commit
ed230936ac
@ -30,6 +30,7 @@ import Text.Regex.Applicative.Text ((=~))
|
||||
import Utils (UpdateEnv (..), Version)
|
||||
import qualified Utils as U
|
||||
import System.IO.Temp (withSystemTempFile)
|
||||
import System.IO (hFlush)
|
||||
|
||||
default (T.Text)
|
||||
|
||||
@ -50,6 +51,7 @@ pr base msg = do
|
||||
(T.unpack $ base <> "-prmsg")
|
||||
(\fp handle -> do
|
||||
T.hPutStr handle msg
|
||||
hFlush handle
|
||||
runProcess_ $
|
||||
proc "hub" ["pull-request", "-b", T.unpack base, "-F", fp])
|
||||
|
||||
|
@ -340,6 +340,7 @@ publishPackage log updateEnv oldSrcUrl newSrcUrl attrPath result opDiff msgs = d
|
||||
cveRep
|
||||
cachixTestInstructions
|
||||
nixpkgsReviewMsg
|
||||
liftIO $ log prMsg
|
||||
if (doPR . options $ updateEnv)
|
||||
then do
|
||||
let base =
|
||||
|
Loading…
Reference in New Issue
Block a user