Skip to content

Commit

Permalink
feat: enable semantic-release with prod releases
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUnderScorer committed Oct 30, 2023
1 parent 91768d2 commit 7847f0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildspec.release-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ phases:
echo "Files are the same. Don't need to upload the file."
elif [ $diffStatus -eq 1 ]; then
echo "Files are different. Uploading new version."
aws s3api put-object --body latest.zip --bucket fingerprint-pro-cloudfront-integration-lambda-function --key release/lambda_latest_test.zip
aws s3api put-object --body latest.zip --bucket fingerprint-pro-cloudfront-integration-lambda-function --key release/lambda_latest.zip
else
echo "There was something wrong with the diff command."
fi
Expand All @@ -37,7 +37,7 @@ phases:
echo "Files are the same. Don't need to upload the file."
elif [ $mgmtDiffStatus -eq 1 ]; then
echo "Files are different. Uploading new version."
aws s3api put-object --body latest_mgmt.zip --bucket fingerprint-pro-cloudfront-integration-lambda-function --key release/mgmt_lambda_latest_test.zip
aws s3api put-object --body latest_mgmt.zip --bucket fingerprint-pro-cloudfront-integration-lambda-function --key release/mgmt_lambda_latest.zip
else
echo "There was something wrong with the diff command."
fi

0 comments on commit 7847f0a

Please sign in to comment.