mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add commit sha to version information
This commit is contained in:
parent
f2e6153541
commit
8961a19154
5 changed files with 23 additions and 2 deletions
|
@ -60,7 +60,11 @@ function loadCoreDictionary() {
|
|||
|
||||
function init() {
|
||||
// Log current version to console to help out with issue triage and debugging
|
||||
console.log(`${__PACKAGE_JSON_NAME__} version ${__PACKAGE_JSON_VERSION__} build ${__JF_BUILD_VERSION__}`);
|
||||
console.info(
|
||||
`[${__PACKAGE_JSON_NAME__}]
|
||||
version: ${__PACKAGE_JSON_VERSION__}
|
||||
commit: ${__COMMIT_SHA__}
|
||||
build: ${__JF_BUILD_VERSION__}`);
|
||||
|
||||
// This is used in plugins
|
||||
window.Events = Events;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue