Created
November 14, 2019 14:25
-
-
Save maretekent/ee7671c150d3cca9748fa07d8771e452 to your computer and use it in GitHub Desktop.
zip on the fly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INPUT=$1 | |
TIMESTAMP=`date +%Y-%m-%d-%H-%M-%S` | |
ARCHIVE_NAME=${INPUT}-${TIMESTAMP}.zip | |
mkdir -p build | |
cd $LAMBDA | |
zip -r $ARCHIVE_NAME . | |
mv $ARCHIVE_NAME ../build/ | |
cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment