Add latest link in binary downloads directory?

Issue #874 new
Former user created an issue

Hi. Would it be possible to create a latest link in the binary downloads directory (https://mmonit.com/monit/dist/binary/)? It would allow for scripts to pull (wget) the latest version for automated deployment. Many thanks.

Comments (2)

  1. Henning Bopp

    Good idea! +1.

    Currently my update-checker uses:

    version=$(curl -s "https://mmonit.com/monit/changes/" | grep -Po '[\d.]+(?= -->)' | head -n1)
    latest="https://mmonit.com/monit/dist/binary/${version}/monit-${version}-linux-x64.tar.gz"
    
  2. Log in to comment