]> git.proxmox.com Git - mirror_edk2.git/commitdiff
nasm_ext_dep.yaml: Remove leading zero in patch version
authorMichael Kubacki <michael.kubacki@microsoft.com>
Fri, 16 Sep 2022 19:44:27 +0000 (15:44 -0400)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 22 Sep 2022 19:12:25 +0000 (19:12 +0000)
The patch version is currently: "2.15.05"

When a formal semantic version validator is run against this version
it is recognized as being invalid due to the leading zero in the
patch which is not allowed per the Semantic Versioning Specification:

https://semver.org/#spec-item-2

The NuGet Gallery already reports the version without the leading
zero: https://www.nuget.org/packages/mu_nasm/2.15.5

This change simply removes the leading zero to prevent code such as
https://pypi.org/project/semantic-version/ from reporting a version
error.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: Michael Kubacki <mikuback@linux.microsoft.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
BaseTools/Bin/nasm_ext_dep.yaml

index 7a56dd2b8bc1dddb1bdb9a7f838aaf9f2b401dc6..56703d4c18e7111a5a6bd419b31c135aa405c037 100644 (file)
@@ -13,6 +13,6 @@
   "type": "nuget",\r
   "name": "mu_nasm",\r
   "source": "https://api.nuget.org/v3/index.json",\r
-  "version": "2.15.05",\r
+  "version": "2.15.5",\r
   "flags": ["set_path", "host_specific"]\r
 }\r