electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.68k stars 1.74k forks source link

Version is incorrect in linux #5773

Closed wscj closed 3 years ago

wscj commented 3 years ago

My version is 1.0.22.4555,but as the result, the version is 1.0.2-2.4555 in the .deb file

mmaietta commented 3 years ago

I'm almost certain that it's behaving as expected. One is the app version, the other is the buildVersion IIRC.

Can you please add your electron-builder/package.json file(s) showing your versioning config?

wscj commented 3 years ago

@mmaietta My package.json file like below:

{
  "name": "xxx",
  "productName": "xxx",
  "description": "hello",
  "private": true,
  "main": "main.js",
  "author": "AA <bb@cc.com>",
  "dependencies": {
    "axios": "0.19.2",
    "crypto-js": "4.0.0",
    "gpu-info": "0.0.1",
    "jsencrypt": "3.0.0-rc.1",
    "lodash": "4.17.13",
    "log4js": "6.1.2",
    "md5": "2.2.1",
    "mkdirp": "0.5.1",
    "ws": "3.3.3"
  },
  "optionalDependencies": {
    "rcedit": "^2.2.0",
    "regedit": "^2.2.7"
  },
  "homepage": "https://xxx.com/",
  "version": "1.0.22.4962"
}
stale[bot] commented 3 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.