shayki5 / azure-devops-create-pr-task

Azure Pipelines task to create PR in Azure DevOps or GitHub during a build or release pipeline
https://marketplace.visualstudio.com/items?itemName=ShaykiAbramczyk.CreatePullRequest
MIT License
58 stars 35 forks source link

PWSH #22

Open dn-efraim opened 4 years ago

dn-efraim commented 4 years ago

Feature: ¿migrate to pssh core, and run in any platform? only for win is bad idea.

shayki5 commented 4 years ago

Hi @ice508, Yea, I know... but Microsoft doesn't have a handler for PS core, so custom tasks can't be written in PS core (see this issue). For cross-platform this should be in TypeScript, if there is a high demand I will consider re-writing the task in TypeScript.

Kind regards, Shayki

bdovaz commented 2 years ago

@shayki5 what about this? It seems to be a relatively simple way to make it cross-platform.

https://blogs.blackmarble.co.uk/rfennell/a-technique-for-porting-powershell-based-azure-devops-extensions-to-node-so-they-can-be-run-cross-platform-without-a-complete-re-write/

shayki5 commented 2 years ago

@bdovaz Yea, I saw that blog in the past, need to find time to do it... maybe can you do it and open a pr? 🙏

bdovaz commented 2 years ago

@shayki5 please read: https://github.com/shayki5/azure-devops-create-pr-task/pull/145