Lightcord/src/buildInfo.ts

17 lines
375 B
TypeScript
Raw Normal View History

import { getCommitID } from "./common/git"
const pak = require("../package.json")
2020-05-16 23:24:51 +02:00
export const releaseChannel:"stable"|"canary"|"ptb"|"development" = "stable"
export const version = "0.0.306"
export const commit = getCommitID()
2020-05-16 23:24:51 +02:00
export default {
releaseChannel,
version,
commit
}
global["BuildInfo"] = {
releaseChannel,
version: pak.version,
commit
2020-05-16 23:24:51 +02:00
}