Update maven.py

This commit is contained in:
Nemo
2022-09-07 14:27:15 +00:00
committed by GitHub
parent 0716cef1e5
commit 1c603de65d

View File

@@ -17,7 +17,7 @@ def fetch_releases(package_identifier):
for row in data['response']['docs']:
date = datetime.datetime.utcfromtimestamp(row['timestamp'] / 1000)
version = row['v']
if not any(exception in version for exception in ['alpha', 'beta', 'nightly', 'rc']):
if not any(exception in version for exception in ['alpha', 'beta', 'nightly', 'rc', '-M']):
abs_date = date.strftime("%Y-%m-%d")
releases[version] = abs_date
print("%s: %s" % (version, abs_date))