File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -416,17 +416,17 @@ func (pushService *pushService) pushReleases() error {
416
416
existingAssets = append (existingAssets , assets ... )
417
417
}
418
418
419
- // assetsPath := pushService.cacheDirectory.AssetsPath(releaseName)
420
- // assetPathStats, err := ioutil.ReadDir(assetsPath)
419
+ assetsPath := pushService .cacheDirectory .AssetsPath (releaseName )
420
+ assetPathStats , err := ioutil .ReadDir (assetsPath )
421
421
if err != nil {
422
422
return errors .Wrap (err , "Error reading release assets." )
423
423
}
424
- // for _, assetPathStat := range assetPathStats {
425
- // err := pushService.createOrUpdateReleaseAsset(release, existingAssets, assetPathStat)
426
- // if err != nil {
427
- // return err
428
- // }
429
- // }
424
+ for _ , assetPathStat := range assetPathStats {
425
+ err := pushService .createOrUpdateReleaseAsset (release , existingAssets , assetPathStat )
426
+ if err != nil {
427
+ return err
428
+ }
429
+ }
430
430
}
431
431
432
432
return nil
You can’t perform that action at this time.
0 commit comments