mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-19 20:57:53 +02:00
fix: breaking: use artifact.Name for the blob key instead of artifact.Path (#1082)
This commit is contained in:
parent
0aa2538e34
commit
ce9b2c96d0
@ -79,10 +79,11 @@ func (b Bucket) Upload(ctx *context.Context, conf config.Blob, folder string) er
|
||||
g.Go(func() error {
|
||||
log.WithFields(log.Fields{
|
||||
"provider": bucketURL,
|
||||
"folder": folder,
|
||||
"artifact": artifact.Name,
|
||||
}).Info("uploading")
|
||||
|
||||
w, err := conn.NewWriter(ctx, filepath.Join(folder, artifact.Path), nil)
|
||||
w, err := conn.NewWriter(ctx, filepath.Join(folder, artifact.Name), nil)
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "failed to obtain writer")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user