Add usage example in the comments of the script r=pmoore
authorSylvestre Ledru <sledru@mozilla.com>
Wed, 28 Jan 2015 14:24:11 +0100 (2015-01-28)
changeset 3612 36da48148e6eb0f3a23b9e229bd1c7eeb84af039
parent 3611 e956732a484b9f831a528215236ce82cd1dae80b
child 3613 6506f3e066b89448f1516574b817104dcdcdc45e
push id2822
push usersledru@mozilla.com
push dateWed, 28 Jan 2015 13:25:23 +0000 (2015-01-28)
reviewerspmoore
Add usage example in the comments of the script r=pmoore
scripts/push_apk.py
scripts/update_apk_description.py
--- a/scripts/push_apk.py
+++ b/scripts/push_apk.py
@@ -1,12 +1,14 @@
 #!/usr/bin/env python
 """ push_apk.py
 
     Upload the apk of a Firefox app on Google play
+    Example for a beta upload:
+    $ python push_apk.py --package-name org.mozilla.firefox_beta --service-account foo@developer.gserviceaccount.com --credentials key.p12 --apk-x86=/path/to/fennec-XX.0bY.multi.android-i386.apk --apk-armv7=/path/to/fennec-XX.0bY.multi.android-arm.apk --track production --push_apk
 """
 import sys
 import os
 
 from oauth2client import client
 
 # load modules from parent dir
 sys.path.insert(1, os.path.dirname(sys.path[0]))
--- a/scripts/update_apk_description.py
+++ b/scripts/update_apk_description.py
@@ -1,12 +1,14 @@
 #!/usr/bin/env python
 """ update_apk_description.py
 
     Update the descriptions of an application (multilang)
+    Example of beta update:
+    $ python update_apk_description.py --service-account foo@developer.gserviceaccount.com --package-name org.mozilla.firefox --credentials key.p12 --update-apk-description
 """
 import sys
 import os
 import urllib2
 import json
 
 from oauth2client import client