]> git.arvados.org - arvados.git/blob - src/common/app-info.ts
refs #14267-the-user-has-to-use-TAB-key-twice-to-browse-throught-filters
[arvados.git] / src / common / app-info.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 export const getBuildInfo = (): string => {
6     const getBuildNumber = "BN-" + (process.env.REACT_APP_BUILD_NUMBER || "dev");
7     const getGitCommit = "GIT-" + (process.env.REACT_APP_GIT_COMMIT || "latest").substr(0, 7);
8     return getBuildNumber + " / " + getGitCommit;
9 };