mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 11:11:42 -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
1a9dddb173
commit
93201dfd50
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