mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
mention tilde
This commit is contained in:
@@ -48,4 +48,8 @@ The `--save-exact` flag will add `electron` to your `package.json` file without
|
||||
using a `^` or `~`, e.g. `1.6.2` instead of `^1.6.2`. This practice ensures that
|
||||
all upgrades of Electron are a manual operation made by you, the developer.
|
||||
|
||||
Alternatively, you can use the `~` prefix in your SemVer range, like `~1.6.2`.
|
||||
This will lock your major and minor version, but allow new patch versions to
|
||||
be installed.
|
||||
|
||||
[Semantic Versioning]: http://semver.org
|
||||
|
||||
Reference in New Issue
Block a user