aboutsummaryrefslogtreecommitdiffstats
path: root/build/ci.go
diff options
context:
space:
mode:
Diffstat (limited to 'build/ci.go')
-rw-r--r--build/ci.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/ci.go b/build/ci.go
index f5ef54b75..691f5233e 100644
--- a/build/ci.go
+++ b/build/ci.go
@@ -359,11 +359,11 @@ func archiveUpload(archive string, blobstore string, signer string) error {
Token: os.Getenv("AZURE_BLOBSTORE_TOKEN"),
Container: strings.SplitN(blobstore, "/", 2)[1],
}
- if err := build.AzureBlobstoreUpload(archive, archive, auth); err != nil {
+ if err := build.AzureBlobstoreUpload(archive, filepath.Base(archive), auth); err != nil {
return err
}
if signer != "" {
- if err := build.AzureBlobstoreUpload(archive+".asc", archive+".asc", auth); err != nil {
+ if err := build.AzureBlobstoreUpload(archive+".asc", filepath.Base(archive+".asc"), auth); err != nil {
return err
}
}