-
Notifications
You must be signed in to change notification settings - Fork 563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Automatically add platformVersion
to manifest
#2938
Conversation
@@ -21,5 +21,6 @@ | |||
"dapps": true | |||
} | |||
}, | |||
"platformVersion": "6.13.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will add a bit of complexity to our release process, but worth it IMO.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2938 +/- ##
=======================================
Coverage 94.49% 94.49%
=======================================
Files 487 487
Lines 10450 10451 +1
Branches 1604 1604
=======================================
+ Hits 9875 9876 +1
Misses 575 575 ☔ View full report in Codecov by Sentry. |
@@ -179,7 +179,7 @@ describe('manifest', () => { | |||
"chains": ["eip155:1", "eip155:2", "eip155:3"] | |||
} | |||
}, | |||
"platformVersion": "1.0.0", | |||
"platformVersion": "6.13.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be mocked so we don't need to update this for every release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point!
In #2803 we added support for
platformVersion
in the manifest to indicate what version of the platform the Snap was implemented for. We chose to not automatically add this version to the manifest before releasing the initial changes. Since those changes have now been released we can enable automatically adding the field to the manifest.Closes #2854