github.tarball_from releases
Joshua Root
jmr at macports.org
Sat Feb 15 01:12:04 UTC 2025
On 15/2/2025 11:57, Dave Allured - NOAA Affiliate via macports-dev wrote:
> I am trying to switch from "github.tarball_from tarball" to the
> recommended "releases". The original "tarball" setting works fine, but
> "releases" fails to download. The upstream release and my Portfile
> lines are:
>
> https://github.com/Unidata/netcdf-c/releases/tag/v4.9.3 <https://
> github.com/Unidata/netcdf-c/releases/tag/v4.9.3>
> github.setup Unidata netcdf-c 4.9.3 v
> github.tarball_from releases
>
> This makes a download URL which gets "Not Found":
> https://github.com/Unidata/netcdf-c/releases/download/v4.9.3/netcdf-
> c-4.9.3.tar.gz <https://github.com/Unidata/netcdf-c/releases/download/
> v4.9.3/netcdf-c-4.9.3.tar.gz>
>
> I tried many permutations of the numbering and prefix strategy, with no
> luck. Is this a bug in the github portgroup, or do I misunderstand how
> to specify the version number details with "releases"? Or something else?
There are no uploaded assets attached to that release; all that's listed
are the auto-generated tarballs. So you'll have to use 'archive'.
- Josh
More information about the macports-dev
mailing list