renevanosnabrugge / vsts-promotepackage-task

Promote a package in VSTS to a Release View
MIT License
21 stars 25 forks source link

Add support for Maven #47

Open mhamoir opened 4 years ago

mhamoir commented 4 years ago

Issue #46 : Could you manage maven ?

renevanosnabrugge commented 4 years ago

can you share (maybe privately) your Azure DevOps Account. I will merge and build a private version of the extension. Unfortunately they do not run side by side (dev and public extension). Any azure devops org will do.

Thanks!

mhamoir commented 4 years ago

can you share (maybe privately) your Azure DevOps Account. I will merge and build a private version of the extension. Unfortunately they do not run side by side (dev and public extension). Any azure devops org will do.

Thanks!

I created a public project : https://dev.azure.com/oniryxmha/Test Could you build your extension on it ?

mhamoir commented 4 years ago

can you share (maybe privately) your Azure DevOps Account. I will merge and build a private version of the extension. Unfortunately they do not run side by side (dev and public extension). Any azure devops org will do. Thanks!

I created a public project : https://dev.azure.com/oniryxmha/Test Could you build your extension on it ?

Hello,

Is it ok for you ?

renevanosnabrugge commented 4 years ago

a new version is shared with https://dev.azure.com/oniryxmha/ . You can only share with an organization and not with a project

mhamoir commented 4 years ago

Unfortunately there is an error

[error]The term 'packageNameSplit[0]' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

mhamoir commented 4 years ago

Unfortunately there is an error

[error]The term 'packageNameSplit[0]' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

I just pushed a new version fixing this error.

renevanosnabrugge commented 4 years ago

built a new version

mhamoir commented 4 years ago

I have an HTTP 405 error. I read again the API https://docs.microsoft.com/en-us/rest/api/azure/devops/artifactspackagetypes/maven?view=azure-devops-rest-5.1 and saw that only Maven doesn't have the "Update Package Version" operation.

I'll look further for another solution.

pedautreppe commented 4 years ago

Hello, for information, this operation has now been added to the Azure DevOps WebApi

https://docs.microsoft.com/en-us/rest/api/azure/devops/artifactspackagetypes/maven/update%20package%20version?view=azure-devops-rest-6.0

hangy commented 3 years ago

Hello, for information, this operation has now been added to the Azure DevOps WebApi

https://docs.microsoft.com/en-us/rest/api/azure/devops/artifactspackagetypes/maven/update%20package%20version?view=azure-devops-rest-6.0

Apparently, this will be part of Azure DevOps Server 2020.1: https://docs.microsoft.com/en-us/azure/devops/server/release-notes/azuredevops2020u1?view=azure-devops#update-package-version-rest-api-now-available-for-maven-packages