mirror of
https://github.com/nextcloud/server.git
synced 2025-03-17 01:34:07 +00:00
fix: only keep major as server version
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
parent
f9fcc5b170
commit
3fe5faf5f9
1 changed files with 1 additions and 1 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue