<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body>Perfect, that works for me. <br><br>I'll share what I've got for the benefit of anyone else since the curl result contains `next-YYYYMMDD` and the source tarball does not contain `next-` so it needs to be removed with another simple step in bash:<br><br><div> ver_with_next=$(basename $(curl -Ls -o/dev/null -w '%{url_effective}' <a href="https://trac.chirp.danplanet.com/download?stream=next">https://trac.chirp.danplanet.com/download?stream=next</a>))</div><div> ver_without_next=${ver_with_next//next-/}</div><div> curl -o ./chirp-src.tar.gz <a href="https://trac.chirp.danplanet.com/chirp_next/%24%7Bver_with_next%7D/chirp-%24%7Bver_without_next%7D.tar.gz">https://trac.chirp.danplanet.com/chirp_next/${ver_with_next}/chirp-${ver_without_next}.tar.gz</a></div><br><div>Tony<br></div><div><br></div><p>January 27, 2023 at 10:52 PM, "Dan Smith via chirp_devel" <<a href="mailto:chirp_devel@intrepid.danplanet.com?to=%22Dan%20Smith%20via%20chirp_devel%22%20%3Cchirp_devel%40intrepid.danplanet.com%3E" target="_blank" tabindex="-1">chirp_devel@intrepid.danplanet.com</a>> wrote:</p><blockquote><blockquote>If there was a URL like `<a href="https://trac.chirp.danplanet.com/chirp_next/latest">https://trac.chirp.danplanet.com/chirp_next/latest</a>` which either contained simple text or redirected to "<a href="https://trac.chirp.danplanet.com/chirp_next/next-YYYYMMDD/chirp-next-YYYYMMDD.tar.gz">https://trac.chirp.danplanet.com/chirp_next/next-YYYYMMDD/chirp-next-YYYYMMDD.tar.gz</a>" that would really help out, at least from what I've seen with snap, flatpak and appimage building thus far.</blockquote><div><br></div><div>The link on the download page almost does this:</div><div><br></div><div><a href="https://trac.chirp.danplanet.com/download?stream=next" target="_blank">https://trac.chirp.danplanet.com/download?stream=next</a></div><div><br></div><div>and will redirect to the build dir. You could pull the build name out of the URL it sends you to:</div><div><br></div><div>$ curl -Ls -o/dev/null -w '%{url_effective}' <a href="https://trac.chirp.danplanet.com/download?stream=next" target="_blank">https://trac.chirp.danplanet.com/download?stream=next</a></div><div><a href="https://trac.chirp.danplanet.com/chirp_next/next-20230127/" target="_blank">https://trac.chirp.danplanet.com/chirp_next/next-20230127/</a></div><div><br></div><div>$ basename $(curl -Ls -o/dev/null -w '%{url_effective}' <a href="https://trac.chirp.danplanet.com/download?stream=next)" target="_blank">https://trac.chirp.danplanet.com/download?stream=next)</a></div><div>next-20230127</div><div><br></div><div>--Dan</div><div>_______________________________________________</div><div>chirp_devel mailing list</div><div><a href="mailto:chirp_devel@intrepid.danplanet.com">chirp_devel@intrepid.danplanet.com</a></div><div><a href="http://intrepid.danplanet.com/mailman/listinfo/chirp_devel" target="_blank">http://intrepid.danplanet.com/mailman/listinfo/chirp_devel</a></div><div>Developer docs: <a href="http://chirp.danplanet.com/projects/chirp/wiki/Developers" target="_blank">http://chirp.danplanet.com/projects/chirp/wiki/Developers</a></div></blockquote><div><br></div></body></html>