alexa / ask-cli

Alexa Skills Kit Command Line Interface
https://developer.amazon.com/en-US/docs/alexa/smapi/ask-cli-intro.html
Apache License 2.0
163 stars 54 forks source link

fix: deploy skill package when icon uri path relative to its asset files #487

Closed jsetton closed 11 months ago

jsetton commented 11 months ago

Issue #, if available:

251

Description of changes: The only way to update a skill manifest that includes an icon uri path relative to the skill package asset files (e.g. file://assets/images/en-US_smallIcon.png) is to deploy it inside a skill package. Otherwise, SMAPI will reject the update skill manifest request for having an invalid url format.

This was previously fixed but was removed since 2.29.0. This change is reintroducing the fix with the ability to determine, based on the presence of a file icon uri, when the skill manifest should be deployed part of a skill package or just updated on its own.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.