Verified Commit 3738e471 authored by Adam Mercer's avatar Adam Mercer
Browse files

move koji authentication check after source checks

parent c0edf8ab
......@@ -95,9 +95,6 @@ def main():
print('source = %s' % args.source)
print('target tag = %s' % args.target)
# check that we can authenticate to koji
check_connection_to_koji()
# check that source exists
if not args.git:
source = pathlib.Path(args.source)
......@@ -112,6 +109,9 @@ def main():
print('package name = %s' % pkg_name)
# how do we determine this when source is from git?
# check that we can authenticate to koji
check_connection_to_koji()
#
# main program entry point
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment