@@ -995,6 +995,9 @@ func (b *BuildReleaseTasks) modFilesFromBinary(ctx *wf.TaskContext, version stri
995
995
func (b * BuildReleaseTasks ) mergeSignedToTGZ (ctx * wf.TaskContext , unsigned , signed artifact ) (artifact , error ) {
996
996
return b .runBuildStep (ctx , unsigned .Target , nil , signed , "tar.gz" , func (_ * task.BuildletStep , signed io.Reader , w io.Writer ) error {
997
997
signedBinaries , err := loadBinaries (ctx , signed )
998
+ if err != nil {
999
+ return err
1000
+ }
998
1001
999
1002
// Copy files from the tgz, overwriting with binaries from the signed tar.
1000
1003
ur , err := b .ScratchFS .OpenRead (ctx , unsigned .Scratch )
@@ -1049,6 +1052,9 @@ func (b *BuildReleaseTasks) mergeSignedToTGZ(ctx *wf.TaskContext, unsigned, sign
1049
1052
func (b * BuildReleaseTasks ) mergeSignedToModule (ctx * wf.TaskContext , version string , timestamp time.Time , mod moduleArtifact , signed artifact ) (moduleArtifact , error ) {
1050
1053
a , err := b .runBuildStep (ctx , nil , nil , signed , "signedmod.zip" , func (_ * task.BuildletStep , signed io.Reader , w io.Writer ) error {
1051
1054
signedBinaries , err := loadBinaries (ctx , signed )
1055
+ if err != nil {
1056
+ return err
1057
+ }
1052
1058
1053
1059
// Copy files from the module zip, overwriting with binaries from the signed tar.
1054
1060
mr , err := b .ScratchFS .OpenRead (ctx , mod .ZipScratch )
0 commit comments