Store assets offline validations #1070
-
Is there a command/flag to validate the store files without actually uploading them? Things like: check title max length, check locales folder correctness, check screenshots size/format... My user case is to have a check in Github/Gitlab that runs on commits and PRs, to make sure that the assets are always correct and shouldn't fail when uploaded. I've tried to search for a command or a flag but couldn't find any. I've also tried to search for an existing action with no avail. Apologize if it does exists and I've missed it. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
We actually used to have some validation within the plug-in, but we removed it because whenever Google changed some requirement, there would be a delay in when the plugin would match that requirement. You also can't guarantee success offline: for example, you might already have images uploaded and try to upload new ones which will fail because you exceed the combined image count limit. Because it's not possible to guarantee success, I don't think it makes sense to put this in the plugin. However, you could always add something like a python script to do your own validation. |
Beta Was this translation helpful? Give feedback.
-
As I mentioned, I extracted, polished (a bit) and published it on the GitHub marketplace: Note: I tried to make sure and explain that it's unofficial (not affiliated with you), but if you think it's not enough or can be confusing just tell me and I'll adapt as necessary. |
Beta Was this translation helpful? Give feedback.
We actually used to have some validation within the plug-in, but we removed it because whenever Google changed some requirement, there would be a delay in when the plugin would match that requirement. You also can't guarantee success offline: for example, you might already have images uploaded and try to upload new ones which will fail because you exceed the combined image count limit.
Because it's not possible to guarantee success, I don't think it makes sense to put this in the plugin. However, you could always add something like a python script to do your own validation.