temp(pkg/releaser): add ZipFiles Method

This commit is contained in:
fwiedmann
2019-07-07 23:42:52 +02:00
parent 49aaa93cac
commit 6e2fa0ddbf
7 changed files with 322 additions and 37 deletions

View File

@@ -40,20 +40,3 @@ func (r *Releasers) GetReleaser() (Releaser, error) {
}
return nil, fmt.Errorf("could not initialize a releaser from this type: %s", r.config.Release)
}
// func checkIfAssetsExists(assets []config.Asset) error {
// var missingAssets []string
// for _, asset := range assets {
// if _, err := os.Stat(asset.Name); err != nil {
// missingAssets = append(missingAssets, asset.Name)
// }
// }
// if len(missingAssets) != 0 {
// return fmt.Errorf("could not find specified Asset: %+v ", assets)
// }
// return nil
// }