~ubuntu-branches/ubuntu/lucid/quickly/lucid

« back to all changes in this revision

Viewing changes to data/templates/ubuntu-application/share.py

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-04-14 19:10:50 UTC
  • mfrom: (8.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100414191050-vw3929m2heswh3rj
Tags: 0.4-0ubuntu1
* New bugfix upstream release:
  - various fix to tutorial command (LP: #559565)
  - update some part of the existing tutorial (LP: #556237, #550510)
  - fix gpg key creation parameter %commit with right error message as we
    don't push it to LP (LP: #554302)
  - fix some case where gpg secret key wasn't exported to sign the package
    (LP: #555384)
  - add debug command relying on winpdb (Nafai)
  - remove some debug message
  - updated translations

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
    sys.exit(1)
103
103
 
104
104
# push the gpg key to the env
 
105
keyid = ""
105
106
try:
106
 
    quicklyutils.export_right_gpg_key_id_and_email(launchpad)
 
107
    keyid = quicklyutils.get_right_gpg_key_id(launchpad)
107
108
except quicklyutils.gpg_error, e:
108
109
    print(e)
109
110
    sys.exit(1)
148
149
 
149
150
# upload to launchpad
150
151
print _("pushing to launchpad")
151
 
return_code = packaging.push_to_ppa(dput_ppa_name, "../%s_%s_source.changes" % (project_name, release_version)) != 0
 
152
return_code = packaging.push_to_ppa(dput_ppa_name, "../%s_%s_source.changes" % (project_name, release_version), keyid=keyid) != 0
152
153
if return_code != 0:
153
154
    sys.exit(return_code)
154
155