mirror of
https://github.com/nix-community/nixpkgs-update.git
synced 2024-11-28 23:22:00 +03:00
check existing PR later if has updateScript
This commit is contained in:
parent
5ae5261c11
commit
7267bc6968
@ -218,7 +218,8 @@ updatePackageBatch log updateEnv@UpdateEnv {..} mergeBaseOutpathsContext =
|
||||
Skiplist.attrPath attrPath
|
||||
when pr do
|
||||
Git.checkAutoUpdateBranchDoesntExist packageName
|
||||
GH.checkExistingUpdatePR updateEnv attrPath
|
||||
unless hasUpdateScript do
|
||||
GH.checkExistingUpdatePR updateEnv attrPath
|
||||
|
||||
unless hasUpdateScript do
|
||||
Nix.assertNewerVersion updateEnv
|
||||
@ -319,6 +320,10 @@ updatePackageBatch log updateEnv@UpdateEnv {..} mergeBaseOutpathsContext =
|
||||
assertNotUpdatedOn updateEnv' derivationFile "master"
|
||||
assertNotUpdatedOn updateEnv' derivationFile "staging"
|
||||
assertNotUpdatedOn updateEnv' derivationFile "staging-next"
|
||||
whenBatch updateEnv do
|
||||
when pr do
|
||||
when hasUpdateScript do
|
||||
GH.checkExistingUpdatePR updateEnv' attrPath
|
||||
|
||||
Nix.build attrPath
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user