diff options
author | Steve Chaplin <> | 2011-05-02 11:25:31 +0800 |
---|---|---|
committer | Steve Chaplin <> | 2011-05-02 11:25:31 +0800 |
commit | 7d268c982bf5d756b6c6eedc86cf108e53cf3a40 (patch) | |
tree | ad731551879af64b23ae822c864bcc6e1e7b9c00 | |
parent | 089d79c502db0414e2b041e34a36612d70e8fffa (diff) |
Increment version to 1.10.1
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | RELEASING | 78 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | doc/conf.py | 2 | ||||
-rw-r--r-- | wscript | 2 |
5 files changed, 41 insertions, 45 deletions
@@ -16,9 +16,9 @@ Documentation Changes: Build Changes: Update waf to 1.6.3 + Remove setup.py Other Changes: - Remove setup.py Improve/simplify unicode filename support. Improve/simplify unicode text support. @@ -26,12 +26,13 @@ $ ./waf clean distclean $ ./waf dist # to create py2cairo-x.x.x.tar.bz2 # create sha1 sum $ sha1sum py2cairo-x.x.x.tar.bz2 > py2cairo-x.x.x.tar.bz2.sha1 + # ensure html docs are present in the archive $ mv py2cairo-X.X.X* /tmp # install from the archive, run tests and examples. -4) Commit the changes to NEWS, configure.ac etc +4) git commit # the changes to NEWS, etc. It's especially important to mention the new version number in the git commit comment. Add a '=== Py2cairo x.x.x ===' header. @@ -40,54 +41,49 @@ $ git tag X.Y.Z push the changes to the freedesktop server. $ git push origin master -5) Edit Makefile.am and select either 'snapshot' or 'release'. - Run "make release-publish" which will perform the following steps for you: -* Check that the version number ends with an even micro component -* Check that no release exists with the current version -* Verify that make distcheck completes successfully -* Generate the final tar file -* Generate an md5sum file -* scp both files to appear on http://cairographics.org/releases -* Place local copies of the files in the releases directory -* Create a LATEST-package-version file (after deleting any old one) -* Provide some text for the release announcement (see below). +5) Copy the archive to the cairo download server +$ chmod a+r /tmp/py2cairo* +$ scp py2cairo-x.x.x.tar.bz2 py2cairo-x.x.x.tar.bz2.sha1 cairographics.org:/srv/cairo.freedesktop.org/www/releases + 6) Verify that the tar file arrived at the website. Check tar file has read permissions for all. Update the pycairo webpage to reference the new release. Update http://cheeseshop.python.org entry for pycairo. -7) Edit: - configure.ac - setup.py - wscript - to increment pycairo_version_micro to the next larger (odd) number. -$ git push origin master -8) Send a message to cairo-announce@cairographics.org +7) Send a message to cairo-announce@cairographics.org and CC python-announce-list@python.org - to announce the new release using the text provided from - "make release-publish". - - -Generating documentation archives ---------------------------------- -$ cd doc/ -$ vi conf.py # update the version and release numbers -$ make clean -$ make html -$ cd .build/ -$ mv html py2cairo-x.x.x-docs-html -$ tar cjf /tmp/py2cairo-x.x.x-docs-html.tar.bz2 py2cairo-x.x.x-docs-html -$ zip -r /tmp/py2cairo-x.x.x-docs-html.zip py2cairo-x.x.x-docs-html -$ chmod a+r /tmp/py2cairo* + to announce the new release using the template below + +Subject: ANN: py2cairo release X.X.X now available + +Py2cairo is a set of Python 2.x bindings for the multi-platform 2D +graphics library cairo. + http://cairographics.org + http://cairographics.org/pycairo -untar docs in /tmp and check that they have correct version number and view -OK. -copy file to the 'releases' directory on cairo website: - scp py2cairo-x.x.x-docs-html.tar.bz2 cairographics.org:/srv/cairo.freedesktop.org/www/releases +Py2cairo release X.X.X is available from: + http://cairographics.org/releases/py2cairo-X.X.X.tar.bz2 + http://cairographics.org/releases/py2cairo-X.X.X.tar.bz2.sha1 -cd doc - html_docs_create.sh - html_docs_upload.sh +<insert NEWS here ...> + + +8) Generate documentation and copy to cairo web server +$ cd doc/_build/html +$ tar cjf /tmp/html.tar.bz2 * # adds files to top level of archive +$ scp /tmp/html.tar.bz2 cairographics.org:/srv/cairo.freedesktop.org/www/documentation/pycairo/2 +$ ssh cairographics.org + # login and untar the file + # test pycairo docs can be read from web + # check everyone has read permission (and 'x' for dirs) + + +9) Increment pycairo version number, to next odd number in: + configure.ac + doc/conf.py + wscript +$ git commit +$ git push origin master diff --git a/configure.ac b/configure.ac index 02158de..4ca529b 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ AC_PREREQ(2.59) # the pycairo version number m4_define(pycairo_version_major, 1) m4_define(pycairo_version_minor, 10) -m4_define(pycairo_version_micro, 0) +m4_define(pycairo_version_micro, 1) m4_define(pycairo_version, pycairo_version_major.pycairo_version_minor.pycairo_version_micro) # versions of packages we require diff --git a/doc/conf.py b/doc/conf.py index aa25b78..f291c15 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -50,7 +50,7 @@ copyright = u'2008, Steve Chaplin' # The short X.Y version. version = '1.10' # The full version, including alpha/beta/rc tags. -release = '1.10.0' +release = '1.10.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -7,7 +7,7 @@ out = 'build_directory' d = top APPNAME='py2cairo' -VERSION='1.10.0' +VERSION='1.10.1' cairo_version_required = '1.10.0' |