To automate the roundcube upgrade-process was necessary to download the latest archive from GitHub.
To identify the latest version just follow the latest release.
This trick will also work for any other GitHub project:
import requests url = 'https://github.com/roundcube/roundcubemail/releases/latest' r = requests.get(url) version = r.url.split('/')[-1] print(version)
Leave a Reply