summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorStephen Enders <senders@spotify.com>2019-01-21 14:35:22 -0500
committerStephen Enders <senders@spotify.com>2019-01-21 14:35:22 -0500
commit973c8310e64dc2de407ea717494e5ef2bd5b0c8c (patch)
tree68f605890b3bb91d077fa1a620000d6af0303e18 /deploy.sh
parentd57dd7282e3158c83bd9df53d891cc0f89efca2c (diff)
Updated deploy script
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh3
1 files changed, 2 insertions, 1 deletions
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!"