Fizcko / Azure_DevOps_Download_File

Azure DevOps extension for download a file.
MIT License
0 stars 0 forks source link

Download release from GitHub (302 redirect) #1

Closed Orygeunik closed 4 years ago

Orygeunik commented 4 years ago

Hello

Situation: Task takes url, like this https://github.com/instrumenta/kubeval/releases/download/0.15.0/kubeval-Linux-amd64.tar.gz When task running recived 302, and task failed (not following).

Recieved page: <html><body>You are being <a href="https://github-production-release-asset-2e65be.s3.amazonaws.com/95363214/51df9980-7e3b-11ea-9e2b-a9458724af77?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200508%2Fus-east-1%2Fs3%2Faws4_request&amp;X-Amz-Date=20200508T153120Z&amp;X-Amz-Expires=300&amp;X-Amz-Signature=3c725ae3900b3b046286b31abc991637415c13cef6bc240cc54427e9bafaa89c&amp;X-Amz-SignedHeaders=host&amp;actor_id=0&amp;repo_id=95363214&amp;response-content-disposition=attachment;%20filename%3Dkubeval-linux-amd64.tar.gz&amp;response-content-type=application%2Foctet-stream">redirected</a>.</body></html>

Expected result: Follow to redirect and download archive

Fizcko commented 4 years ago

Hello,

I will release a new version tomorrow to fix your issue.

Regards

Fizcko commented 4 years ago

@Orygeunik

A new version 1.1.0 as been release on the Azure DevOps marketplace.

Feel free to add a rating or/and review.