Skip to content

fix: generate iOS images when we have their sizes #5139

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

Merged
merged 2 commits into from
Nov 18, 2019

Conversation

rosen-vladimirov
Copy link
Contributor

In case we do not have some of iOS Resource images in our image-definitions.json file, we do not generate images for them. This was not the case prior 6.2.0 release, so fix the behavior by getting back the old logic - get the image size from the Contents.json and generate image for it.
Also add the images from the templates that are currently missing from our image-definitions.json file.

PR Checklist

What is the current behavior?

CLI does not generate image resources for iOS which are described in Contents.json, but are not described in CLI's image-definitions.json file.

What is the new behavior?

CLI does not generate image resources for iOS which are described in Contents.json, but are not described in CLI's image-definitions.json file.

Fixes issue: #5126

In case we do not have some of iOS Resource images in our image-definitions.json file, we do not generate images for them. This was not the case prior 6.2.0 release, so fix the behavior by getting back the old logic - get the image size from the Contents.json and generate image for it.
Also add the images from the templates that are currently missing from our `image-definitions.json` file.
@rosen-vladimirov
Copy link
Contributor Author

test cli-resources

@rosen-vladimirov rosen-vladimirov merged commit 051fb7e into release Nov 18, 2019
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/fix-image-generation-2 branch November 18, 2019 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants