set opts.version after getting version from package.json (#39038)
This commit is contained in:
1 parent
e3c11d2682
commit
792fa63725
1 file changed
+2
@@ -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