#!/bin/bash curl "https://github.com/audacity/audacity/releases" 2> /dev/null | \ tr "\"" "\n" | \ sed ' s@^/audacity/audacity/archive/refs/tags/Audacity-\(.*\)\.tar\.gz$@\1@ t d ' | \ grep -v -- '-beta-' | \ sort -V | \ tail -n1