set opts.version after getting version from package.json (#39038)

pull/39040/head
Kevin Minehart 4 years ago committed by GitHub
parent e3c11d2682
commit 792fa63725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/build/cmd.go

@ -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 {

Loading…
Cancel
Save