renevanosnabrugge / vsts-promotepackage-task

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

Promote doesn't work in Azure DevOps Pipeline since 2.0.5 #35

Closed dev-raiced closed 4 years ago

dev-raiced commented 4 years ago

The task was working fine in my project release pipeline with 2.0.4 but now with 2.0.5 the package is not found:

================================================================
2019-11-05T07:05:04.2368402Z Task         : Promote package to Release View
2019-11-05T07:05:04.2368431Z Description  : Promotes a package to a Release View in VSTS Package Management
2019-11-05T07:05:04.2368472Z Version      : 2.0.5
2019-11-05T07:05:04.2368503Z Author       : Rene van Osnabrugge
2019-11-05T07:05:04.2368530Z Help         : Version: 2.0.5. [More Information](https://github.com/renevanosnabrugge/vsts-promotepackage-task/wiki)
2019-11-05T07:05:04.2368557Z ===============================================================
2019-11-05T07:05:05.5009240Z Promoting 1 package(s) named 'MyPackage' with version '1.0.1'
2019-11-05T07:05:05.5088319Z Promoting version 1.0.1 of package MyPackage from feed MyGuidLocal to view MyGuidPreRelease
2019-11-05T07:05:06.7505123Z ##[error]Package MyPackage could not be found

The package was correctly pushed and visible in the Artifact @Local. The package name and version were found for the .nuspec file but then I get a not found error.

I'm using windows-2019 agent.

renevanosnabrugge commented 4 years ago

is this still an issue?

dwhearn commented 4 years ago

The 2.0.5 version was failing with a similar error about the same time, but now it is working in our build pipelines.

dev-raiced commented 4 years ago

I tried again with 3.0.1 but the same issue still occurs.

renevanosnabrugge commented 4 years ago

Does it work in this version ? https://github.com/renevanosnabrugge/vsts-promotepackage-task/pull/54

dev-raiced commented 4 years ago

Working now with version 3.0.4. Thanks!