Skip to content

Commit

Permalink
Improve filename of aws cloud formation template for package
Browse files Browse the repository at this point in the history
  • Loading branch information
francoispluchino committed Aug 16, 2022
1 parent 9a1ac3d commit f3484a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ utils.spawn('node bin/build' + (program.force ? ' --force' : ''))
let params = {
ACL: program.tag || program.replace ? 'public-read' : undefined,
Bucket: program.bucket ? program.bucket : env.AWS_S3_BUCKET_DEPLOY,
Key: `latest.template`,
Key: `${program.tag || 'latest'}.template`,
Body: fileStream
};
await s3.upload(params).promise();
Expand Down

0 comments on commit f3484a7

Please sign in to comment.