Skip to content
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

Merged
merged 4 commits into from
Dec 10, 2024

Conversation

FrederikBolding
Copy link
Member

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

@FrederikBolding FrederikBolding requested a review from a team as a code owner December 10, 2024 10:52
@@ -21,5 +21,6 @@
"dapps": true
}
},
"platformVersion": "6.13.0",
Copy link
Member Author

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.

Mrtenz
Mrtenz previously approved these changes Dec 10, 2024
Copy link

codecov bot commented Dec 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.49%. Comparing base (c7a6906) to head (6edaef1).
Report is 1 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

@@ -179,7 +179,7 @@ describe('manifest', () => {
"chains": ["eip155:1", "eip155:2", "eip155:3"]
}
},
"platformVersion": "1.0.0",
"platformVersion": "6.13.0",
Copy link
Member

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point!

Mrtenz
Mrtenz previously approved these changes Dec 10, 2024
@FrederikBolding FrederikBolding merged commit 51ab913 into main Dec 10, 2024
166 checks passed
@FrederikBolding FrederikBolding deleted the fb/add-platform-version-to-manifest branch December 10, 2024 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable platform version field in CLI
2 participants