Merge branch 'bs-1'
This commit is contained in:
commit
be698c09cf
|
|
@ -33,4 +33,21 @@ class TestFlightPublisher(TestFlightPublisherBase):
|
|||
ipa_rel_path = 'BuildSample/bin/iPhone/Release/BuildSample-{0}.ipa'.format(self._config['version'])
|
||||
ipa_abs_path = os.path.join(sln_dir, ipa_rel_path)
|
||||
|
||||
return TestFlightPublisherBase.Publish(self, ipa_abs_path)
|
||||
return TestFlightPublisherBase.Publish(self, ipa_abs_path)
|
||||
|
||||
if __name__ == '__main__':
|
||||
import argparse
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('path')
|
||||
parser.add_argument('-at', '--api_token', required=True, help='api token')
|
||||
parser.add_argument('-tt', '--team_token', required=True, help='team token')
|
||||
parser.add_argument('-n', '--notes', default=TestFlightPublisherBase.DefaultNotes, help='upload notes')
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
publisher = TestFlightPublisherBase(args.api_token, args.team_token, args.notes)
|
||||
publisher.Publish(args.path)
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue