set opts.version after getting version from package.json (#39038)
This commit is contained in:
@@ -45,6 +45,8 @@ func RunCmd() int {
|
||||
return logError("Error opening package json", err)
|
||||
}
|
||||
|
||||
opts.version = packageJSON.Version
|
||||
|
||||
version, iteration := LinuxPackageVersion(packageJSON.Version, opts.buildID)
|
||||
|
||||
if opts.printGenVersion {
|
||||
|
||||
Reference in New Issue
Block a user