mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-05 13:20:16 +08:00
Update search pattern for src type #5136
This commit is contained in:
@@ -1471,6 +1471,9 @@ class InternalCommands:
|
||||
|
||||
def getDistFilename(self, type):
|
||||
pattern = self.getVersionForFilename()
|
||||
if (type == 'src'):
|
||||
pattern += '-Source'
|
||||
|
||||
for filename in os.listdir(self.getBinDir('Release')):
|
||||
if re.search(pattern, filename):
|
||||
return filename
|
||||
|
||||
Reference in New Issue
Block a user