Files
trezor-suite/packages/suite-build/utils/git.ts
2021-08-05 10:48:18 +02:00

4 lines
126 B
TypeScript

import { execSync } from 'child_process';
export const getRevision = () => execSync('git rev-parse HEAD').toString().trim();