File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -44,19 +44,20 @@ export async function runDraft(
44
44
tmpDir
45
45
) ;
46
46
47
- await notarizeArtifact (
48
- downloadedArtifact ,
49
- {
50
- signingKeyName : config . notarySigningKeyName || '' ,
51
- authToken : config . notaryAuthToken || '' ,
52
- signingComment : 'Evergreen Automatic Signing (mongosh)'
53
- }
54
- ) ;
55
- let signatureFile : string | undefined = downloadedArtifact + '.sig' ;
47
+ let signatureFile : string | undefined ;
56
48
try {
49
+ await notarizeArtifact (
50
+ downloadedArtifact ,
51
+ {
52
+ signingKeyName : config . notarySigningKeyName || '' ,
53
+ authToken : config . notaryAuthToken || '' ,
54
+ signingComment : 'Evergreen Automatic Signing (mongosh)'
55
+ }
56
+ ) ;
57
+ signatureFile = downloadedArtifact + '.sig' ;
57
58
await fs . access ( signatureFile , fsConstants . R_OK ) ;
58
59
} catch ( err : any ) {
59
- console . info ( `Skipping expected signature file ${ signatureFile } : ${ err . message } ` ) ;
60
+ console . warn ( `Skipping expected signature file for ${ downloadedArtifact } : ${ err . message } ` ) ;
60
61
signatureFile = undefined ;
61
62
}
62
63
You can’t perform that action at this time.
0 commit comments