Skip to content

Commit e2b6a98

Browse files
author
Hamish Macpherson
authored
Always upload *.map files
1 parent 8b2836d commit e2b6a98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ func VersionAndUploadFiles(
174174
bucketFilename := path.Join(directory, uploadFilename)
175175
fileURL := GetFileURL(bucket, bucketFilename)
176176

177-
shouldUpload := !HasPreviousUpload(svc, bucket, bucketFilename)
177+
shouldUpload := ext == ".map" || !HasPreviousUpload(svc, bucket, bucketFilename)
178178
if shouldUpload && !dryRun {
179179
err := UploadFile(file, bucketFilename, bucket)
180180
if err != nil {

0 commit comments

Comments
 (0)