Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
Rename SHA to revision to make it picked up by metrics (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
axelssonHakan committed Jun 12, 2018
1 parent cdbbd3b commit 535f45f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_version_file.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

COMMIT_SHA=$(git rev-parse --short HEAD) node -e "console.log(JSON.stringify({ SHA: process.env.COMMIT_SHA, name: require('./package.json').name, version: require('./package.json').version, buildTime: (new Date()).toISOString() }))" > version.json
COMMIT_SHA=$(git rev-parse --short HEAD) node -e "console.log(JSON.stringify({ revision: process.env.COMMIT_SHA, name: require('./package.json').name, version: require('./package.json').version, buildTime: (new Date()).toISOString() }))" > version.json

0 comments on commit 535f45f

Please sign in to comment.