Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Backport scraper fix from 1.10.0: use universal subversion extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
DotBow committed Jan 26, 2021
1 parent 132b164 commit 585b1f4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions source/threads/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,7 @@ def new_blender_build(self, tag, url, branch_type):
if match:
build_hash = match[-1].replace('-', '')

# Old buidls style naming
match = re.search(r'-\d\.\w+-', stem)

if match is None:
# New builds style naming
match = re.search(r'-\d+\.\d+\.\d+-', stem)

match = re.search(r'-\d\.[a-zA-Z0-9.]+-', stem)
subversion = match.group(0).replace('-', '')

if branch_type == 'experimental':
Expand Down

0 comments on commit 585b1f4

Please sign in to comment.