Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 90 lines (64 sloc) 2.677 kB
089d79c === Py2cairo 1.10.0 ===
Steve Chaplin authored
1 Steps to follow to create a new py2cairo release
2 ------------------------------------------------
ca09d07 Initial commit
Steve Chaplin authored
3
089d79c === Py2cairo 1.10.0 ===
Steve Chaplin authored
4 1) Add a new NEWS entry
06f2d10 Pycairo 1.8.8 release
Steve Chaplin authored
5 Sift through the information in 'git log' since the last release. Summarize
6 major changes briefly in a style similar to other entries in NEWS.
ca09d07 Initial commit
Steve Chaplin authored
7
089d79c === Py2cairo 1.10.0 ===
Steve Chaplin authored
8
b29721e Update release procedure.
Steve Chaplin authored
9 2) Increment pycairo and cairo version numbers in:
06f2d10 Pycairo 1.8.8 release
Steve Chaplin authored
10 configure.ac
11 doc/conf.py
12 README
13 wscript
ca09d07 Initial commit
Steve Chaplin authored
14
15
089d79c === Py2cairo 1.10.0 ===
Steve Chaplin authored
16 3) Create the archive
17 $ cd doc
18 $ make clean; make html # view docs and ensure version number is correct
19
20 $ cd ..
21 $ ./waf distcheck # ensure there are no errors
22 $ rm -rf py2cairo-X.X.X*
23
24 $ make clean # clean from autotools
25 $ ./waf clean distclean
26 $ ./waf dist # to create py2cairo-x.x.x.tar.bz2
27 # create sha1 sum
28 $ sha1sum py2cairo-x.x.x.tar.bz2 > py2cairo-x.x.x.tar.bz2.sha1
7d268c9 Increment version to 1.10.1
Steve Chaplin authored
29 # ensure html docs are present in the archive
ca09d07 Initial commit
Steve Chaplin authored
30
089d79c === Py2cairo 1.10.0 ===
Steve Chaplin authored
31 $ mv py2cairo-X.X.X* /tmp
32 # install from the archive, run tests and examples.
ca09d07 Initial commit
Steve Chaplin authored
33
b29721e Update release procedure.
Steve Chaplin authored
34
7d268c9 Increment version to 1.10.1
Steve Chaplin authored
35 4) git commit # the changes to NEWS, etc.
06f2d10 Pycairo 1.8.8 release
Steve Chaplin authored
36 It's especially important to mention the new version number in the git commit
37 comment.
f29ff51 Change package name from 'pycairo' to 'py2cairo', so that 'pycairo'
Steve Chaplin authored
38 Add a '=== Py2cairo x.x.x ===' header.
06f2d10 Pycairo 1.8.8 release
Steve Chaplin authored
39
3228ab7 Increase version to 1.8.11
Steve Chaplin authored
40 $ git tag X.Y.Z
b29721e Update release procedure.
Steve Chaplin authored
41 push the changes to the freedesktop server.
42 $ git push origin master
06f2d10 Pycairo 1.8.8 release
Steve Chaplin authored
43
ca09d07 Initial commit
Steve Chaplin authored
44
7d268c9 Increment version to 1.10.1
Steve Chaplin authored
45 5) Copy the archive to the cairo download server
46 $ chmod a+r /tmp/py2cairo*
47 $ scp py2cairo-x.x.x.tar.bz2 py2cairo-x.x.x.tar.bz2.sha1 cairographics.org:/srv/cairo.freedesktop.org/www/releases
48
ca09d07 Initial commit
Steve Chaplin authored
49
06f2d10 Pycairo 1.8.8 release
Steve Chaplin authored
50 6) Verify that the tar file arrived at the website.
ca09d07 Initial commit
Steve Chaplin authored
51 Check tar file has read permissions for all.
52 Update the pycairo webpage to reference the new release.
53 Update http://cheeseshop.python.org entry for pycairo.
54
55
7d268c9 Increment version to 1.10.1
Steve Chaplin authored
56 7) Send a message to cairo-announce@cairographics.org
ca09d07 Initial commit
Steve Chaplin authored
57 and CC python-announce-list@python.org
7d268c9 Increment version to 1.10.1
Steve Chaplin authored
58 to announce the new release using the template below
59
60 Subject: ANN: py2cairo release X.X.X now available
61
62 Py2cairo is a set of Python 2.x bindings for the multi-platform 2D
63 graphics library cairo.
64 http://cairographics.org
65 http://cairographics.org/pycairo
ca09d07 Initial commit
Steve Chaplin authored
66
7d268c9 Increment version to 1.10.1
Steve Chaplin authored
67 Py2cairo release X.X.X is available from:
68 http://cairographics.org/releases/py2cairo-X.X.X.tar.bz2
69 http://cairographics.org/releases/py2cairo-X.X.X.tar.bz2.sha1
ca09d07 Initial commit
Steve Chaplin authored
70
7d268c9 Increment version to 1.10.1
Steve Chaplin authored
71 <insert NEWS here ...>
72
73
74 8) Generate documentation and copy to cairo web server
75 $ cd doc/_build/html
76 $ tar cjf /tmp/html.tar.bz2 * # adds files to top level of archive
77 $ scp /tmp/html.tar.bz2 cairographics.org:/srv/cairo.freedesktop.org/www/documentation/pycairo/2
78 $ ssh cairographics.org
79 # login and untar the file
80 # test pycairo docs can be read from web
81 # check everyone has read permission (and 'x' for dirs)
82
83
84 9) Increment pycairo version number, to next odd number in:
85 configure.ac
86 doc/conf.py
87 wscript
88 $ git commit
89 $ git push origin master
Something went wrong with that request. Please try again.