diff options
author | Stephen Enders <senders@spotify.com> | 2019-01-21 14:35:22 -0500 |
---|---|---|
committer | Stephen Enders <senders@spotify.com> | 2019-01-21 14:35:22 -0500 |
commit | 973c8310e64dc2de407ea717494e5ef2bd5b0c8c (patch) | |
tree | 68f605890b3bb91d077fa1a620000d6af0303e18 /deploy.sh | |
parent | d57dd7282e3158c83bd9df53d891cc0f89efca2c (diff) |
Updated deploy script
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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!" |