Skip to content

Commit ffed734

Browse files
authored
Merge pull request #47722 from nextcloud/backport/47721/stable28
2 parents a297773 + 6ba8670 commit ffed734

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dist/core-common.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/core-common.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webpack.common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const WorkboxPlugin = require('workbox-webpack-plugin')
99
const modules = require('./webpack.modules.js')
1010
const { readFileSync } = require('fs')
1111

12-
const appVersion = readFileSync('./version.php').toString().match(/OC_VersionString[^']+'([^']+)/)?.[1] ?? 'unknown'
12+
const appVersion = readFileSync('./version.php').toString().match(/OC_Version.+\[([0-9]{2})/)?.[1] ?? 'unknown'
1313

1414
const formatOutputFromModules = (modules) => {
1515
// merge all configs into one object, and use AppID to generate the fileNames

0 commit comments

Comments
 (0)