<div dir="ltr"><div>This project clearly provides a Github "Releases" page with tarballs listed under each release.  What do you mean by "This project does not provide release tarballs"?  You are probably right, but I need to better under stand the mixed message here.  Thank you for your advice.</div><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Feb 14, 2025 at 6:09 PM Zhenfu Shi <<a href="mailto:i0ntempest@macports.org">i0ntempest@macports.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="line-break:after-white-space">This project does not provide release tarballs. Others might, but may use non standard file names such that you need to change distname in your portfile. For this project, use `github.tarball_from archive`.<div><br></div><div>Zhenfu<br><div><br><blockquote type="cite"><div>On Feb 15, 2025, at 11:57, Dave Allured - NOAA Affiliate via macports-dev <<a href="mailto:macports-dev@lists.macports.org" target="_blank">macports-dev@lists.macports.org</a>> wrote:</div><br><div><div dir="ltr">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:<div><div><br></div><div><a href="https://github.com/Unidata/netcdf-c/releases/tag/v4.9.3" target="_blank">https://github.com/Unidata/netcdf-c/releases/tag/v4.9.3</a><br></div><div>github.setup                Unidata netcdf-c 4.9.3 v<br>github.tarball_from         releases<br></div><div><br></div><div>This makes a download URL which gets "Not Found":</div><a href="https://github.com/Unidata/netcdf-c/releases/download/v4.9.3/netcdf-c-4.9.3.tar.gz" target="_blank">https://github.com/Unidata/netcdf-c/releases/download/v4.9.3/netcdf-c-4.9.3.tar.gz</a><div><br></div><div>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?</div></div></div></div></blockquote></div></div></div></blockquote></div></div>