Remove semver property from manifest

An addon should not have two version numbers, either the main version number is semver compatible or nor
This commit is contained in:
Timo Ley 2022-09-16 16:59:39 +02:00
parent c170119e80
commit 967a4b9a24
1 changed files with 5 additions and 7 deletions

View File

@ -5,8 +5,7 @@
"addonscript": {},
"id": "myaddon",
"namespace": "com.example",
"version": "1.0",
"semver": "1.0.0",
"version": "1.0.0",
"files": [],
"relations": [],
"flags": {},
@ -32,7 +31,10 @@ It MUST only contains lowercase alphanumeric characters and hyphens and SHOULD b
This is the [version number](../concepts/versioning.md) of this version. Versions are compared by
[Maven version order rules](../concepts/versioning.md#version-order-specification).
If this version number is valid semver, the `semver` property is implicitly equal to `version` if `semver` was not explicitly set.
If this version number is valid semver, this version of the addon is semver compatible and implies
all semantics according to the [semver specifications](https://semver.org/spec/v2.0.0.html).
AddonScript implementations MAY provide specific behavior based on the semver semantics, for example
warning the user before updating to a next major version.
### namespace
@ -44,10 +46,6 @@ This is an [flags object](flags.md) which contains [manifest flags](../concepts/
## Optional properties
### semver
This is the version number of this version in semver format. It MUST follow the [semver versioning specifications](https://semver.org/spec/v2.0.0.html).
### files
This is an array of [file objects](file.md) including the files belonging to this addon.