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

"CodePush - Release" task missing after instalation to Azure DevOps (VSTS) #30

Open
Imroath opened this issue Nov 8, 2018 · 3 comments

Comments

@Imroath
Copy link

Imroath commented Nov 8, 2018

I have installed the ms-vsclient.code-push-1.3.1.vsix extension in our AzureDevOps but we are missing “CodePush – Release” task. I can see 3 other tasks (CodePush - Patch, CodePush - Release(Cordova) and CodePush - Promote). What we want to do is to release React-Native app, and without the CodePush - Release task, we can't do it.

@alexandergoncharov-zz
Copy link
Contributor

Hi @Imroath ,
Sorry for this long delay.

Yeah, we don't have release-react command. For releasing react app you should use react-native prepare and then CodePush-release. For more info please check this docs: https://marketplace.visualstudio.com/items?itemName=ms-vsclient.react-native-extension

Also, I see that you missed CodePush-release task. It is strange. Could you please clarify what approach have you used for installing CodePush extension? I would like to to your step and reproduce this issue.

Thanks,
Alexander

@Imroath
Copy link
Author

Imroath commented Nov 28, 2018

Hi @Imroath ,
Also, I see that you missed CodePush-release task. It is strange. Could you please clarify what approach have you used for installing CodePush extension? I would like to to your step and reproduce this issue.

Yes, this issue is strange. But all I did was to navigate to marketplace, https://marketplace.visualstudio.com/items?itemName=ms-vsclient.code-push and click "Get it free". Then I installed extension in my Azure DevOps Organization. But the CodePush-Release task was missing after instalation. My work around was to download and extract the package and then use tfx-cli to install CodePush-Release task manually just as we do with our custom tasks. And it worked fine.

@Imroath
Copy link
Author

Imroath commented Nov 28, 2018

Maybe the source of an issue is that you are using a depreciated and outdated vsts-task-lib?
Maybe you should use azure-pipelines-task-lib instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants