HowToMakeARelease

From XMLTV
Revision as of 05:44, 24 January 2017 by Rmeden (Talk | contribs) (Created page with "XMLTV Release Procedure Generate ChangeLog cd ~/xmltv perl ../cvs2cl.pl vi ChangeLog search for preparation of previous release delete from previo...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

XMLTV Release Procedure

Generate ChangeLog

   cd ~/xmltv
   perl ../cvs2cl.pl
   vi ChangeLog
       search for preparation of previous release
       delete from previous release to end of file
       read commit comments, keep only major changes
       reformat into a "Major Changes" list.

Update Readmes

   vi README
       update release version number
       update release date (bottom of file)
       copy in "Major Changes"
   vi doc/README.win32
       update release version number
       update release date (bottom of file)
       copy in "Major Changes"

Update Version Numbers

   grep -lr <previous release> * # to find files to edit
   Update version numbers
   vi Makefile.PL lib/exe_wrap.pl lib/XMLTV.pm.in lib/Augment.pm
   cvs commit
       use comment similar to "preparing for x.y.z release"

Make tar release!

   ./mkdist --version x.y.z --sfuser <yourusername>
   make install

Build XMLTV.EXE ( On Windows development box)

   cvs update -d -P
   dmake distclean
   perl Makefile.PL
   dmake install
   dmake xmltv.exe
   send_exe.bat  # to upload xmltv.exe

Make Windows Release (Back on Linux)

   make distclean
   perl Makefile.PL PREFIX=/tmp/xmltv-x.y.z-win32
   make windows_dist
   cd /tmp/xmltv-x.y.z-win32/
   wget http://alpha-exe.xmltv.org
   mv index.html xmltv.exe
   chmod 755 xmltv.exe
   cd /tmp
   zip -r xmltv-x.y.z-win32.zip xmltv-x.y.z-win32
   scp xmltv-x.y.z-win32.zip <sd-user>,xmltv\@frs.sourceforge.net:/home/frs/project/x/xm/xmltv/xmltv/x.y.z/

On SF website

   Files -> XMLTV -> x.y.z
   wait for files to show up.
   flag tar as everything except windows
   flag zip as windows
   

Send email annoucement

Update XMLTV wiki with release info