mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fix extracting branches from bintray versions
It wasn't treating hyphenated branch names correctly.
This commit is contained in:
@@ -3,7 +3,7 @@ function Get-HashFromBintrayVersion($version) {
|
||||
}
|
||||
|
||||
function Get-BranchFromBintrayVersion($version) {
|
||||
return $version.split('-')[2].split('_-', 2)[1]
|
||||
return $version.substring($version.IndexOf('_') + 1)
|
||||
}
|
||||
|
||||
function Get-AuthorizationHeaderValue($username, $password) {
|
||||
|
||||
Reference in New Issue
Block a user