mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-03 13:11:48 +02:00
fix: blob: filepath on url (#1521)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
parent
983f342ab8
commit
be1d4d629f
@ -5,7 +5,7 @@ import (
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/url"
|
||||
"path/filepath"
|
||||
"path"
|
||||
|
||||
"github.com/apex/log"
|
||||
"github.com/goreleaser/goreleaser/internal/artifact"
|
||||
@ -101,7 +101,7 @@ func doUpload(ctx *context.Context, conf config.Blob) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := up.Upload(ctx, filepath.Join(folder, artifact.Name), data); err != nil {
|
||||
if err := up.Upload(ctx, path.Join(folder, artifact.Name), data); err != nil {
|
||||
return handleError(err, bucketURL)
|
||||
}
|
||||
return err
|
||||
|
Loading…
x
Reference in New Issue
Block a user