File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 11MAJOR_VERSION = 0
22MINOR_VERSION = 7
3- PATCH_VERSION = '3 '
3+ PATCH_VERSION = '4 '
44__short_version__ = '{}.{}' .format (MAJOR_VERSION , MINOR_VERSION )
55__version__ = '{}.{}' .format (__short_version__ , PATCH_VERSION )
Original file line number Diff line number Diff line change @@ -15,7 +15,13 @@ def get_releases():
1515 r = urllib .request .urlopen (URL )
1616 if r .status == 200 :
1717 for release in json .loads (r .read ()):
18+ if release .get ('draft' ):
19+ continue
20+ if release .get ('prerelease' ):
21+ continue
1822 for asset in release ['assets' ]:
23+ if 'pdm' in asset ['name' ].lower ():
24+ continue
1925 if asset ['name' ].endswith ('.bin' ):
2026 LOGGER .info ('Found %s' , asset ['name' ])
2127 releases [asset ['name' ]] = asset ['browser_download_url' ]
You can’t perform that action at this time.
0 commit comments