From 973c8310e64dc2de407ea717494e5ef2bd5b0c8c Mon Sep 17 00:00:00 2001 From: Stephen Enders Date: Mon, 21 Jan 2019 14:35:22 -0500 Subject: Updated deploy script --- deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 83fa31a..d9773df 100755 --- a/deploy.sh +++ b/deploy.sh @@ -34,6 +34,7 @@ require_clean_work_tree () { # MAIN METHOD # ## ## DATE=$(date -u -Iseconds) +DATE_TAG=$(date -u +%Y.%m.%dT%H.%M.%SZ) echo "Checking git for clean work tree" require_clean_work_tree @@ -46,6 +47,6 @@ echo "Deployed!" echo "Committing deploy" git commit -am "Deployed: $DATE" -git tag -a $DATE -m "Deployed to s3 on $DATE" +git tag -a $DATE_TAG -m "Deployed to s3 on $DATE" echo "Done!" -- cgit v1.2.3-54-g00ecf