зеркало из https://github.com/nextcloud/server.git
fix: only keep major as server version
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
Родитель
ebc7d440e2
Коммит
f5ab18d0e5
|
@ -16,7 +16,7 @@ const WebpackSPDXPlugin = require('./build/WebpackSPDXPlugin.js')
|
|||
|
||||
const modules = require('./webpack.modules.js')
|
||||
|
||||
const appVersion = readFileSync('./version.php').toString().match(/OC_VersionString[^']+'([^']+)/)?.[1] ?? 'unknown'
|
||||
const appVersion = readFileSync('./version.php').toString().match(/OC_Version.+\[([0-9]{2})/)?.[1] ?? 'unknown'
|
||||
const isDev = process.env.NODE_ENV === 'development'
|
||||
|
||||
const formatOutputFromModules = (modules) => {
|
||||
|
|
Загрузка…
Ссылка в новой задаче