forked from jazzmind/wercker-aws-code-deploy
-
-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Hi – thanks for your great script.
I've been using this on my Mac and ran into a few issues:
readlink -f
fails with an error (the-f
flag doesn't exist) – I got around this by runningbrew install coreutils
and changingreadlink
togreadlink
.sed -r
fails for presumably similar reasons. Again,brew install gnu-sed
then replacing it withgsed -r
worked.- my AWS account credentials live in
~/.aws/credentials
(which I think the AWS CLI docs recommend) but this script errors when looking for them in~/.aws/config
, so I changed those paths - my first successful run of the script uploaded a file called
.zip
because I forgot to setAWS_CODE_DEPLOY_S3_FILENAME
– the other "required" variables cause the script to throw an error if they're not set, so maybe this one should too?
Hope this helps! Probably not worth me patching anything as these changes will likely break the app for non-OSX *nixes, but maybe worth noting somewhere in the readme?
Metadata
Metadata
Assignees
Labels
No labels