Skip to content

Commit

Permalink
fix(publisher-s3): Make S3 upload fail non-silently (#3194)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpmsmith committed Apr 4, 2023
1 parent 25bf1ab commit 0f73d64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/publisher/s3/src/PublisherS3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export default class PublisherS3 extends PublisherBase<PublisherS3Config> {
d('uploading:', artifact.path);
const uploader = new Upload({
client: s3Client,
leavePartsOnError: true,
params: {
Body: fs.createReadStream(artifact.path),
Bucket: this.config.bucket,
Expand Down

0 comments on commit 0f73d64

Please sign in to comment.