mirror of
https://github.com/nextcloud/server.git
synced 2026-06-07 15:53:04 -04:00
fix: only keep major as server version
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
This commit is contained in:
parent
f033e32af6
commit
77c00e27de
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ const WorkboxPlugin = require('workbox-webpack-plugin')
|
|||
const modules = require('./webpack.modules.js')
|
||||
const { readFileSync } = require('fs')
|
||||
|
||||
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 formatOutputFromModules = (modules) => {
|
||||
// merge all configs into one object, and use AppID to generate the fileNames
|
||||
|
|
|
|||
Loading…
Reference in a new issue