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

Rename SHA to revision to make it picked up by metrics #295

Merged
merged 1 commit into from
Jun 12, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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