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 running brew install coreutils and changing readlink to greadlink.
sed -r fails for presumably similar reasons. Again, brew install gnu-sed then replacing it with gsed -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 set AWS_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?
Hi – thanks for your great script.
I've been using this on my Mac and ran into a few issues:
readlink -ffails with an error (the-fflag doesn't exist) – I got around this by runningbrew install coreutilsand changingreadlinktogreadlink.sed -rfails for presumably similar reasons. Again,brew install gnu-sedthen replacing it withgsed -rworked.~/.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.zipbecause 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?