mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
4690 default to origin when release branch not found for owner
This commit is contained in:
parent
da90f38a80
commit
e44f677acf
@ -94,6 +94,9 @@ def main():
|
|||||||
version = parseXML('TSKVersion.xml')
|
version = parseXML('TSKVersion.xml')
|
||||||
RELEASE_BRANCH = "release-"+version
|
RELEASE_BRANCH = "release-"+version
|
||||||
gitSleuthkitCheckout(RELEASE_BRANCH, BRANCH_OWNER)
|
gitSleuthkitCheckout(RELEASE_BRANCH, BRANCH_OWNER)
|
||||||
|
#If it failed try the origin release branch
|
||||||
|
if passed != 0:
|
||||||
|
gitSleuthkitCheckout(RELEASE_BRANCH, ORIGIN_OWNER)
|
||||||
# Check if the same branch exists in TSK (develop->develop, custom1->custom1, etc.)
|
# Check if the same branch exists in TSK (develop->develop, custom1->custom1, etc.)
|
||||||
else:
|
else:
|
||||||
gitSleuthkitCheckout(CURRENT_BRANCH, BRANCH_OWNER)
|
gitSleuthkitCheckout(CURRENT_BRANCH, BRANCH_OWNER)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user