Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
get-prev-rel.sh - 直前のバージョンを取得する
#!/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