Skip to content

Commit 911419b

Browse files
robert-hebel-sbkirill-of-turov
authored andcommitted
build: build release package with next version (swagger-api#10594)
1 parent f2b8522 commit 911419b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)