258
by Facundo Batista
Final details of creating a .deb |
1 |
For all
|
2 |
=======
|
|
3 |
||
4 |
Debian
|
|
5 |
------
|
|
6 |
||
7 |
- Update version number in the version file:
|
|
8 |
||
9 |
echo VERSION > version.txt |
|
10 |
||
11 |
- Check all is crispy
|
|
12 |
||
13 |
./setup.py clean build |
|
14 |
./setup.py clean install --prefix=/tmp/test |
|
15 |
./setup.py clean sdist |
|
16 |
||
17 |
- Tag the release:
|
|
18 |
||
19 |
bzr tag release_VERSION_WITH_UNDERSCORES |
|
20 |
||
21 |
- Create a list of changes, and edit the changelog:
|
|
22 |
||
23 |
- EDITOR=vim dch
|
|
24 |
||
25 |
- put the list of changes
|
|
26 |
||
27 |
- put proper version inside parenthesis
|
|
28 |
||
29 |
- put 'unstable' in the OS version
|
|
30 |
||
31 |
- Build a tarball
|
|
32 |
||
33 |
python setup.py sdist |
|
34 |
||
35 |
- Build the .deb
|
|
36 |
||
37 |
debuild -us -uc |
|
260
by Facundo Batista
Changes after release. |
38 |
|
265
by Facundo Batista
Changes after release: better web page, docs, etc. |
39 |
- Move the tarball that we'll use, clean dir, adapt names
|
40 |
||
41 |
mv dist/* .. |
|
42 |
cd .. |
|
43 |
mv encuentro_VERSION_all.deb encuentro-VERSION.deb |
|
44 |
(more cleaning: note that you'll find a heavy tarball and the one that you just moved) |
|
45 |
||
46 |
- Sign both tarball and deb file
|
|
47 |
||
48 |
gpg --armor --sign --detach-sig encuentro-VERSION.tar.gz |
|
49 |
gpg --armor --sign --detach-sig encuentro-VERSION.deb |
|
50 |
||
266
by Facundo Batista
Instructions for md5sum. |
51 |
- Sums
|
52 |
||
53 |
md5sum encuentro-VERSION.tar.gz > encuentro-VERSION.tar.gz.md5 |
|
54 |
md5sum encuentro-VERSION.deb > encuentro-VERSION.deb.md5 |
|
55 |
||
260
by Facundo Batista
Changes after release. |
56 |
|
57 |
Windows
|
|
58 |
-------
|
|
59 |
||
60 |
Proper instructions in windows/como_armar_la_parte_windows.txt (Spanish only). |