| 44 | ---- |
| 45 | |
| 46 | == '''Create package for release''' == |
| 47 | |
| 48 | |
| 49 | * Clone the source you need |
| 50 | {{{ |
| 51 | git clone http://gitexample.com/example.git |
| 52 | }}} |
| 53 | * Download the original source and rename it |
| 54 | {{{ |
| 55 | example-1.6.0.tar.gz |
| 56 | to |
| 57 | example_1.6.0.orig.tar.gz |
| 58 | }}} |
| 59 | * Update Changelog |
| 60 | {{{ |
| 61 | dch -i -D precise "launchpad build for precise" |
| 62 | }}} |
| 63 | * Open debian/changelog and make sure the version and the log is OK |
| 64 | * Build the package |
| 65 | {{{ |
| 66 | debuild -S -sd |
| 67 | }}} |
| 68 | * Test the build with pbuilder |
| 69 | {{{ |
| 70 | pbuilder-dist precise amd64 build example_1.6.0-1~precise1.dsc |
| 71 | }}} |
| 72 | * Use dput to upload the package to launchpad |