mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
6dd2068218
Summary: This makes the version shown when hovering on the Grist icon equal the version set in package.json, for a grist-core build. Previously the number shown was a hard-coded placeholder. The Grist SaaS build has some build machinery dealing with the version number that should be unaffected by this change for now. Test Plan: tested manually with build_core.sh Reviewers: jarek Reviewed By: jarek Differential Revision: https://phab.getgrist.com/D3659
6 lines
157 B
TypeScript
6 lines
157 B
TypeScript
import * as packageJson from 'package.json';
|
|
|
|
export const version = packageJson.version;
|
|
export const channel = "core";
|
|
export const gitcommit = "unknown";
|