microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.51k stars 2.62k forks source link

[enhancement]: DownloadGitHubRelease@0 Add Output variable containing the Releasename when using defaultVersionType: latest #20656

Open ChristophHannappel opened 1 week ago

ChristophHannappel commented 1 week ago

Task name

DownloadGitHubRelease@0

Describe your feature request here

When using the DownloadGitHubRelease@0 Task with the setting defaultVersionType: 'latest' it would be nice to have an Output Variable which contains the name of the downloaded Release.

The Task already logs the Version to the Pipeline Run: Example:

Downloading assets of release 'v20.0.20241105.5' from: https://api.github.com/repos/Yvand/LDAPCP/releases/183527322/assets

It would be great if you could put that information into an Output Variable like: Taskname.ReleaseName

Thank you very much :)