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 {
416416 existingAssets = append (existingAssets , assets ... )
417417 }
418418
419- // assetsPath := pushService.cacheDirectory.AssetsPath(releaseName)
420- // assetPathStats, err := ioutil.ReadDir(assetsPath)
419+ assetsPath := pushService .cacheDirectory .AssetsPath (releaseName )
420+ assetPathStats , err := ioutil .ReadDir (assetsPath )
421421 if err != nil {
422422 return errors .Wrap (err , "Error reading release assets." )
423423 }
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+ }
430430 }
431431
432432 return nil
You can’t perform that action at this time.
0 commit comments