I have a cron job that checks for new releases. I want to make sure it emails me when a new release is out of beta and ready to install. I want to upgrade to both long term support (LTS) releases and non-LTS releases. Is there a command that will tell me that such a release is available?
I've tried using do-release-upgrade -c -q
and it tells me about the new release unless I'm currently on LTS and the next release is not LTS, (as documented here).
I've tried using do-release-upgrade -d -c -q
. It tells me about non-LTS releases, but it also tells me about beta releases. For example, if I use it right now it tells me that 15.04
is available, but it hasn't actually been fully released yet, (as documented here).
What is the command to tell me about all releases that have been fully released, whether or not they are LTS?