[ms-gsl] update GSL to version 4.1.0 #44673
Annotations
3 errors
Check
All vcpkg.json files must be formatted. To fix this problem, run:
./vcpkg format-manifest ports/*/vcpkg.json
It should make the following changes:```diff
diff --git a/ports/ms-gsl/vcpkg.json b/ports/ms-gsl/vcpkg.json
index eb183f5..a6e4571 100644
--- a/ports/ms-gsl/vcpkg.json
+++ b/ports/ms-gsl/vcpkg.json
@@ -1,7 +1,6 @@
{
"name": "ms-gsl",
"version": "4.1.0",
- "port-version": 0,
"description": "Microsoft implementation of the Guidelines Support Library",
"homepage": "https://github.com/Microsoft/GSL",
"license": "MIT",
```
|
Check
PRs must add only one version, and must not modify any published versions.
When making any changes to a library, the version or port-version in vcpkg.json must be modified, and the version database updated.
Making the following changes will fix this problem:```diff
error: checked-in files for ms-gsl have changed but the version was not updated
version: 4.1.0
old SHA: e08f30b6d1a76866da5b00add95b899067749952
new SHA: 830a859ca3ce0e8191ce7753bd9b97c7624afb4e
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
See https://learn.microsoft.com/vcpkg/commands/add-version?WT.mc_id=vcpkg_inproduct_cli#--overwrite-version for more information.
***No files were updated***
```
|
Check
After committing all other changes, the version database must be updated.
This can be done by running the following commands after committing your changes:
git add -u && git commit
git checkout b8d688b979bd54f0269ea1c6101e6a977613175f -- versions
./vcpkg x-add-version --all
|