propellor spin
This commit is contained in:
parent
fb98e0aec4
commit
78b05d22ff
|
@ -84,8 +84,9 @@ pullFirst next = do
|
||||||
(Just [("GNUPGHOME", privDataDir)])
|
(Just [("GNUPGHOME", privDataDir)])
|
||||||
nukeFile $ privDataDir </> "trustring.gpg"
|
nukeFile $ privDataDir </> "trustring.gpg"
|
||||||
nukeFile $ privDataDir </> "gpg.conf"
|
nukeFile $ privDataDir </> "gpg.conf"
|
||||||
when (s /= "U\n" && s/= "G\n") $
|
if s /= "U\n" && s/= "G\n"
|
||||||
error $ "git branch " ++ originbranch ++ " is not signed with a trusted gpg key; refusing to deploy it!"
|
then error $ "git branch " ++ originbranch ++ " is not signed with a trusted gpg key; refusing to deploy it!"
|
||||||
|
else putStrLn "git branch " ++ originbranch ++ " gpg signature verified; merging"
|
||||||
|
|
||||||
void $ boolSystem "git" [Param "merge", Param originbranch]
|
void $ boolSystem "git" [Param "merge", Param originbranch]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue