Skip to content

Commit 943e767

Browse files
build: build release package with next version (#10594)
1 parent 456274c commit 943e767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack/_config-builder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function buildConfig(
5454
var plugins = [
5555
new webpack.DefinePlugin({
5656
buildInfo: JSON.stringify({
57-
PACKAGE_VERSION: pkg.version,
57+
PACKAGE_VERSION: process.env.REACT_APP_VERSION ?? pkg.version,
5858
GIT_COMMIT: gitInfo.hash,
5959
GIT_DIRTY: gitInfo.dirty,
6060
BUILD_TIME: new Date().toUTCString(),

0 commit comments

Comments
 (0)