Skip to content

Commit

Permalink
On upload: copy archive to public bucket from the canonical bucket. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
isoos authored Mar 21, 2024
1 parent 69205f7 commit 90fcd5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/lib/package/backend.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,8 @@ class PackageBackend {
);
}
await _storage.copyObject(
_incomingBucket.absoluteObjectName(tmpObjectName(guid)),
_canonicalBucket.absoluteObjectName(
tarballObjectName(newVersion.package, newVersion.version!)),
_publicBucket.absoluteObjectName(
tarballObjectName(newVersion.package, newVersion.version!)),
);
Expand Down

0 comments on commit 90fcd5a

Please sign in to comment.