Skip to content

Commit

Permalink
Merge pull request #9 from edquist/SOFTWARE-1876
Browse files Browse the repository at this point in the history
do not enforce vcs branch checks for scratch builds (SOFTWARE-1876)
  • Loading branch information
matyasselmeci authored Jun 17, 2016
2 parents ec5fbba + f0d22d1 commit 1022303
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osgbuild/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ def main(argv):
print "Exiting"
return 1

vcs.verify_correct_branch(pkg, buildopts)
if not buildopts['scratch']:
vcs.verify_correct_branch(pkg, buildopts)
else:
# verify package dirs
for pkg in package_dirs:
Expand Down

0 comments on commit 1022303

Please sign in to comment.