Add skip update parameter to publishAppPackage if app exist
Opened this issue · 4 comments
Is your feature request related to a problem? Please describe.
When teams toolkit command publishAppPackage
is run when app is already installed, it prompts user to update app or cancel. Where cancel terminates the whole operation.
The update option is always shown even if the version remains same
Describe the solution you'd like
Add a new parameter to optionally skip publish if app exists or skip automatically if version is same.
Describe alternatives you've considered
Upload manually or force update every time
Additional context
please reach out if you need more info.
@adashen @MuyangAmigo do you have update on this?
Hey @brijshah2709 Just want to clarify what feature are you referring to? Are you using the Publish
command in Teams Toolkit for VS Code
And publishAppPackage
refers to the action in the teamsapp.yml
file correct?
If you simply want to use a parameter to skip this step, what if you just comment out this section? Does this work?
hi @MuyangAmigo
Thank you for your response.
I am using teams toolkit on visual studio not vs code.
Commenting out the section works as it is skips the command execution but having a parameter which skips is/force update when app is already installed feels like more developer friendly option and avoid manual change.
@brijshah2709 thank you for your input, we will consider this as a feature request and add to our backlogs.