Skip to content

Commit fd2dc2f

Browse files
committed
Ensure that pre-defined application bundles use the proper name when
uploading into S3.
1 parent 172db81 commit fd2dc2f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bin/aws-code-deploy.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -384,9 +384,9 @@ if [ "$AWS_CODE_DEPLOY_S3_SSE" == "true" ]; then
384384
S3_CP="$S3_CP --sse AES256"
385385
fi
386386

387-
runCommand "$S3_CP \"$APP_LOCAL_TEMP_FILE\" \"s3://$S3_FULL_BUCKET/$APP_LOCAL_FILE\"" \
388-
"Unable to copy bundle \"$APP_LOCAL_FILE\" to S3" \
389-
"Successfully copied bundle \"$APP_LOCAL_FILE\" to S3"
387+
runCommand "$S3_CP \"$APP_LOCAL_TEMP_FILE\" \"s3://$S3_FULL_BUCKET/$AWS_CODE_DEPLOY_S3_FILENAME\"" \
388+
"Unable to copy bundle \"$APP_LOCAL_TEMP_FILE\" to S3" \
389+
"Successfully copied bundle \"$APP_LOCAL_TEMP_FILE\" to s3://$S3_FULL_BUCKET/$AWS_CODE_DEPLOY_S3_FILENAME"
390390

391391

392392

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aws-code-deploy",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "Bash script to easily deploy applications with AWS Code Deploy.",
55
"author": "TechPivot",
66
"main": "bin/aws-code-deploy.sh",

0 commit comments

Comments
 (0)