Created
February 7, 2016 02:48
-
-
Save daisuke-morita/669d42cdb2f9d141d94a to your computer and use it in GitHub Desktop.
get-prev-rel.sh - 直前のバージョンを取得する
This file contains 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
#!/bin/bash | |
export APP="example_app" | |
aws s3 cp s3://example-app-packages/latest.tar.gz /tmp/${APP}.tar.gz | |
mkdir -p rel/${APP} && rm -rf rel/${APP}/* | |
tar zxvf /tmp/${APP}.tar.gz -C rel/${APP} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment