Skip to content

How to upload to ppa

LI Daobing edited this page Jun 6, 2019 · 3 revisions

gpg key preparing (no detail information, only once)

  1. generate your key with gpg --gen-key
  2. publish your pub key to keyserver.ubuntu.com
  3. add your gpg fingerprint to ppa: https://launchpad.net/~jdcloud/+editpgpkeys
  4. confirm your gpg key from email

Upload your package

Ubuntu 18.04(bionic)

  1. switch to debian branch.
  2. edit debian/changelog, change version from 0.2.1-1~jdcloud1 to 0.2.1-1~jdcloud1~bionic1, change release from unstable to bionic.
  3. run debuild -S -e"Zhang San <zhangsan@jd.com>", replace "Zhang San" with your name, replace " zhangsan@jd.com" with your email.
  4. go to the parent directory.
  5. run dput ppa:jdcloud/sdk jdcloud-sdk-cpp-signer_0.2.1-1~jdcloud1~bionic1_source.changes
  6. wait and check whether it's successful from https://launchpad.net/~jdcloud/+archive/ubuntu/sdk

Other releases

Do similar steps with the following releases

  • Ubuntu 16.04(xenial)
  • Ubuntu 18.10(cosmic)
  • Ubuntu 19.04(disco)

Clone this wiki locally