@@ -953,20 +953,6 @@ public static bool BuildDeployUpdateConfig()
953
953
}
954
954
}
955
955
956
- foreach ( BuildFile file in BuildConfig . Build_Release_Files )
957
- {
958
- if ( ! file . UploadNightly )
959
- continue ;
960
-
961
- string name = BuildOutputFolder + file . FileName ;
962
-
963
- if ( ! File . Exists ( name ) )
964
- {
965
- Program . PrintColorMessage ( "[SKIPPED] " + name + " not found." , ConsoleColor . Yellow ) ;
966
- return false ;
967
- }
968
- }
969
-
970
956
string customSignToolPath = Verify . GetCustomSignToolFilePath ( ) ;
971
957
972
958
if ( File . Exists ( customSignToolPath ) )
@@ -983,15 +969,22 @@ public static bool BuildDeployUpdateConfig()
983
969
else
984
970
{
985
971
Program . PrintColorMessage ( "[SKIPPED] CustomSignTool not found." , ConsoleColor . Yellow ) ;
972
+ return true ;
986
973
}
987
974
988
975
if ( BuildNightly && File . Exists ( Verify . GetPath ( "nightly.key" ) ) )
989
976
File . Delete ( Verify . GetPath ( "nightly.key" ) ) ;
990
977
991
978
if ( string . IsNullOrEmpty ( BuildBinSig ) )
979
+ {
980
+ Program . PrintColorMessage ( "build-bin.sig not found." , ConsoleColor . Red ) ;
992
981
return false ;
982
+ }
993
983
if ( string . IsNullOrEmpty ( BuildSetupSig ) )
984
+ {
985
+ Program . PrintColorMessage ( "build-setup.sig not found." , ConsoleColor . Red ) ;
994
986
return false ;
987
+ }
995
988
996
989
buildFilename = BuildOutputFolder + "\\ processhacker-build-bin.zip" ;
997
990
@@ -1002,7 +995,10 @@ public static bool BuildDeployUpdateConfig()
1002
995
}
1003
996
1004
997
if ( string . IsNullOrEmpty ( buildBinHash ) )
998
+ {
999
+ Program . PrintColorMessage ( "build-bin hash not found." , ConsoleColor . Red ) ;
1005
1000
return false ;
1001
+ }
1006
1002
1007
1003
buildFilename = BuildOutputFolder + "\\ processhacker-build-setup.exe" ;
1008
1004
@@ -1013,7 +1009,10 @@ public static bool BuildDeployUpdateConfig()
1013
1009
}
1014
1010
1015
1011
if ( string . IsNullOrEmpty ( buildSetupHash ) )
1012
+ {
1013
+ Program . PrintColorMessage ( "build-setup hash not found." , ConsoleColor . Red ) ;
1016
1014
return false ;
1015
+ }
1017
1016
1018
1017
try
1019
1018
{
0 commit comments