From e5bf6d4901339276ea643b83c3e4adf3362575dd Mon Sep 17 00:00:00 2001 From: Jason Robbins Date: Tue, 4 Aug 2020 12:55:09 -0700 Subject: [PATCH] Use git hash rather than date for the GAE app version. (#949) Co-authored-by: Jason Robbins --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8207b395..d108b079 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "lint": "gulp lint-fix && lit-analyzer \"static/elements/chromedash-!(featurelist)*.js\"", "build": "gulp", "watch": "gulp watch", - "deploy": "npm run build && ./scripts/deploy_site.sh `date +%Y-%m-%d`", - "staging": "npm run build && ./scripts/deploy_site.sh `date +%Y-%m-%d` cr-status-staging", + "deploy": "npm run build && ./scripts/deploy_site.sh `git describe --always --abbrev=7 --match 'NOT A TAG' --dirty='-tainted'`", + "staging": "npm run build && ./scripts/deploy_site.sh `git describe --always --abbrev=7 --match 'NOT A TAG' --dirty='-tainted'` cr-status-staging", "start": "npm run build && ./scripts/start_server.sh" }, "repository": {