toes/src/cli/version.ts

4 lines
117 B
TypeScript

declare var __GIT_SHA__: string
export const SHA: string = typeof __GIT_SHA__ !== 'undefined' ? __GIT_SHA__ : 'dev'