Difference between revisions of "What to do for a release"

From Gramps
Jump to: navigation, search
m (Once the release is available: wikilink News)
m (Preparing the tarball: tag the rc)
Line 19: Line 19:
 
* edit <tt>configure.in</tt>; change the following lines:
 
* edit <tt>configure.in</tt>; change the following lines:
 
  RELEASE=0.SVN$(svnversion -n .)
 
  RELEASE=0.SVN$(svnversion -n .)
 +
dnl RELEASE=0rc1
 
  dnl RELEASE=1
 
  dnl RELEASE=1
 
:to instead say:
 
:to instead say:
 
  dnl RELEASE=0.SVN$(svnversion -n .)
 
  dnl RELEASE=0.SVN$(svnversion -n .)
  RELEASE=1
+
  RELEASE=0rc1
 +
dnl RELEASE=1
 
* run the following command:
 
* run the following command:
 
  make distcheck
 
  make distcheck
 
* note that you should now have the <tt>gramps-2.2.x.tar.gz</tt> file
 
* note that you should now have the <tt>gramps-2.2.x.tar.gz</tt> file
 +
* note the svn commit revision number
 +
* create a tag in svn for the release candidate:
 +
svn copy -r ### https://gramps.svn.sourceforge.net/svnroot/gramps/branches/gramps22 \
 +
https://gramps.svn.sourceforge.net/svnroot/gramps/tags/gramps-2.2.x-rc1 \
 +
-m "tag 2.2.x-rc1"
  
 
==Making the candidate build available==
 
==Making the candidate build available==

Revision as of 16:33, 18 October 2007

What to do for a release

These notes are based on a 2.2.x-based release. Specifically, these are the notes that resulted from the release of 2.2.9 in October 2007:

Translations

  • announce the intent to release on the [email protected] mailing list; ask that no further changes be committed to svn
  • build what should be the final gramps.pot file:
cd po
make gramps.pot
  • commit the new gramps.pot file to svn
  • ask for all translators on [email protected] and [email protected] to update the .po files; plan to release about 1 to 2 weeks after this date
  • ask for translators to e-mail their .po files to you; not all translators have svn access; expect to spend a bit of time checking in .po files

Preparing the tarball

  • edit ChangeLog
  • edit NEWS to add a few lines
  • edit configure.in; change the following lines:
RELEASE=0.SVN$(svnversion -n .)
dnl RELEASE=0rc1
dnl RELEASE=1
to instead say:
dnl RELEASE=0.SVN$(svnversion -n .)
RELEASE=0rc1
dnl RELEASE=1
  • run the following command:
make distcheck
  • note that you should now have the gramps-2.2.x.tar.gz file
  • note the svn commit revision number
  • create a tag in svn for the release candidate:
svn copy -r ### https://gramps.svn.sourceforge.net/svnroot/gramps/branches/gramps22 \
https://gramps.svn.sourceforge.net/svnroot/gramps/tags/gramps-2.2.x-rc1 \
-m "tag 2.2.x-rc1"

Making the candidate build available

Making the release available

  • note the names of previous releases
  • upload the tarball by anonymous ftp to ftp://upload.sourceforge.net/incoming/
  • access the Sourceforge "admin" tab at http://sourceforge.net/projects/gramps/
  • go to "File Releases"
  • add a new release in the "Stable" package
  • fill in name: a number such as 2.2.8 is the name for sourceforge site
  • enter release notes -- usually this is the new section of the NEWS file
  • add uploaded file(s) to the release by checking the appropriate check button and then clicking the "Add Files and/or Refresh View" button
  • set architecture and the file type, click "Update/Refresh"

Once the release is available

Update the version number

  • edit configure.in; increment the version number
  • make certain the RELEASE=1 line is back to dnl RELEASE=1
  • commit to svn

See also

External links