Release Process

From Sailcut

Jump to: navigation, search

Every Sailcut CAD release should be performed as described here.

Contents

Checks

Check that it works!

This cannot be over-emphasized. Before making a release check that the following tests pass.

  • basic checks:
    • launch Sailcut
    • check that the default sail is ok (3D view, wireframe view, developed view)
  • file save/load:
    • launch Sailcut
    • make changes to the sail (for instance a jib) and check that all views are updated correctly
    • save the file
    • close Sailcut
    • launch Sailcut
    • load the file you saved and check that all views are updated correctly

Check the documentation

Check the following:

  • is the ChangeLog up to date?
  • is the copyright date in README up to date?
  • is the copright date in debian/copyright up to date?

Check all changes are commited

Make sure all your changes have been commited to the Subversion repository.

Source release

Tag the release and check it out

First, create a "tag" on the release, which captures the state of the source code at the moment the release was made. Run (replace x.y.z):

svn cp https://sailcut.svn.sourceforge.net/svnroot/sailcut/trunk https://sailcut.svn.sourceforge.net/svnroot/sailcut/tags/x.y.z

Check out the code (replace x.y.z):

svn co https://sailcut.svn.sourceforge.net/svnroot/sailcut/tags/x.y.z/sailcut sailcut-x.y.z

Build the source release

From the directory where you checked out the release:

./autogen.sh
./configure
make dist

This will produce:

  • sailcut-x.y.z.tar.gz: the source code

Binary releases

Build the Windows release

On a Linux machine, from the directory where you checked out the release, run:

make distclean
make -f Makefile.win32

This will produce:

  • sailcut-x.y.z-win32.zip: zip archive for Windows
  • sailcut-x.y.z-win32.exe: installer for Windows

Build the MacOS/X release

On a MacOS/X machine, from the directory where you checked out the release run:

make -f Makefile.mac

This will produce:

  • sailcut-x.y.z-macosx-i386.dmg: an image file for MacOS/X

Publish the release

Putting the files online

Upload all the files by FTP to ftp://upload.sourceforge.net/incoming

Create the release:

  • Add a new release called "Sailcut CAD x.y.z" on the project's release page.
  • Set the following:
    • Status: hidden
    • Upload Change Log: give the ChangeLog file
    • Notes: (replace x.y.z)
Sailcut CAD x.y.z is an updated release of the Sailcut CAD
sail design package.

Please refer to the ChangeLog for the list of changes.
    • Preserve my pre-formatted text: true
    • Press Submit/Refresh
  • Add files to the release
    • Tick all the files that make up the release
    • Press Add files
    • For each file:
      • Fill in Processor and Type fields
      • Press Update/Refresh

Communication

Personal tools