Views

Build a release

Share |

  • [major] tasks applies on x or x.y releases only like 2.0 or 1.7
  • [minor] applies to x.y.z fix releases like 1.6.7
  • [RC] applies to release candidates

Contents

Legals

[major]

Code

Workspace of: Packager
Browse this workspace
Browse other Workspaces
Members Corner
Contacts
Contact us
Main Guides
Packager Guide
Active tickets (Trac)
Workspace's Tickets

Note : we assume that we are about to release branches created using git-flow[1].

  • [all] Refresh workspace
  • [all] Commit and push all changes in jajuk project
  • [all] Check stashed code
git stash list
git stash show -p stash@{<n>}
  • [major] Cleanup code (imports, formating, jautodoc and clean-up)
  • [minor,major] Search for debug System.out (15 regular so far)
  • [major] Detect and drop useless labels from every langpack (jajuk.properties files)
  • [major] Update dependencies files in code and on the website
  • [major] Change README notes version in src/doc/README.html
  • [all] In build.xml and pom.xml of the hotfix[minor] or the release[major] branch, bump version :
    • Right version.
    • [RC] uses a name like x.z~RCz, see #1735
    • Change version in pom.xml (remove the "-SNAPSHOT")
    • [major]
git-flow release finish release-x_y
    • [minor]
git-flow hotfix finish release-x_y
    • [minor,major] Update the src/packaging/pad/jajuk_pad.xml file (date + version:+ exe url; 5 lines to change). Change URL inside the pad file, use http://repository.jajuk.info.
    • Commit all that stuff
git commit -a -m "Bump version for release x.y.z"
  • [all] Test it a minima under several OS
  • [all] Push tags
git push origin --tags
  1. http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/

SourceForge

  • [all] Release on SF
    • Add files (6 files) from jajuk server :
cd /tmp/jajuk-dist/packages
sftp bflorat,jajuk@frs.sourceforge.net
cd  /home/pfs/project/j/ja/jajuk/jajuk/
mkdir <release>
cd <release>
put *
exit

Web site

Ticket manager

  • [all] Close bugs, known issues and Features
  • [all] Check out Trac Administration to fix versions and milestones numbers.

Others

New major release setup

[major]

See Prepare a new release environment