Skip to content

Commit

Permalink
fix(publisher-s3): ensure published files do not overwrite multiple a…
Browse files Browse the repository at this point in the history
…rches
  • Loading branch information
MarshallOfSound committed Dec 2, 2022
1 parent fc31b1c commit 4908a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/publisher/s3/src/PublisherS3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default class PublisherS3 extends PublisherBase<PublisherS3Config> {
return this.config.keyResolver(path.basename(artifact.path), artifact.platform, artifact.arch);
}

return `${artifact.keyPrefix}/${path.basename(artifact.path)}`;
return `${artifact.keyPrefix}/${artifact.platform}/${artifact.arch}/${path.basename(artifact.path)}`;
}

generateCredentials(): Credentials | undefined {
Expand Down

0 comments on commit 4908a44

Please sign in to comment.