curl / curl-for-win

Reproducible curl binaries for Linux, macOS and Windows
https://curl.se/windows/
MIT License
694 stars 207 forks source link

bintray latest version do not download latest version - download url for any automation script #11

Closed babumuralidharan closed 4 years ago

babumuralidharan commented 4 years ago

I did this

bintray url for latest version do not work for this url ->https://bintray.com/vszakats/generic/curl/_latestVersion

I expected the following

when i click this url i always expect zip file to be download. Default 64 bit but need to have a way to to form the url for both 32(https://dl.bintray.com/vszakats/generic/:curl-7.71.1-win32-mingw.zip) and 64 (https://dl.bintray.com/vszakats/generic/:curl-7.71.1-win64-mingw.zip)

Ask his because we have an automation script that needs to download latest version of curl everytime. So that's why I'm placing this requst. Can you help understand the right way to download latest zip via an automation script

curl/libcurl version

[curl -V output]

operating system

dfandrich commented 4 years ago

What's bintray? It's not something that the curl project supports. The latest curl source can always be downloaded from the links at https://curl.haxx.se/download.html or https://github.com/curl/curl/releases/latest The latest version is also available in machine-readable form at https://curl.haxx.se/latest.curl

babumuralidharan commented 4 years ago

Hi @dfandrich thanks for this info. This helps!! I was refering bintray from this readme link https://github.com/curl/curl-for-win#binary-package-downloads

dfandrich commented 4 years ago

Ah, Windows. I guess there are some official Windows binaries from the curl project these days. I'm not sure if these particular ones are official or semi-official.

babumuralidharan commented 4 years ago

Thanks @dfandrich. I think for any automation script, we will do a wget on this url https://github.com/curl/curl/releases/latest, then im downloading the entire zip and then i have to build it exclusively for windows. If you have either 64 bit or 32 bit for windows built in where i always do a wget to get a latest binary that's what I was looking for. Git url is something we recognize as official build and that's what i wanted to check.

bagder commented 4 years ago

The latest official curl for windows builds are provided at https://curl.haxx.se/windows/.

vszakats commented 4 years ago

I forgot to update the Bintray page, sorry. Sadly it's a manual process (at least I haven't found a way to automate it.) Anyhow, as said already, the official download URL is: https://curl.haxx.se/windows/ The value of Bintray is to retrieve historical versions. (Plus it's an advertised download site for OpenSSL binaries.)