From: ben Date: Tue, 14 Jan 2003 19:29:18 +0000 (+0000) Subject: Add constants to mac_res.r to set the binary version number. X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/dd953a8805209bffe5ce72ce4cd7f12009b912e7 Add constants to mac_res.r to set the binary version number. Mention this in CHECKLST as a location where the version number has to be set. git-svn-id: svn://svn.tartarus.org/sgt/putty@2598 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/CHECKLST.txt b/CHECKLST.txt index 88bdabf0..ab6ed059 100644 --- a/CHECKLST.txt +++ b/CHECKLST.txt @@ -53,10 +53,15 @@ orders them correctly with respect to releases): - putty/LATEST.VER -And the Windows installer script: +The Windows installer script: - putty/putty.iss +The Mac resource file (used to generate the binary bit of the 'vers' +resources -- the strings are supplied by the usual means): + + - putty/mac/mac_res.r + The actual release procedure ---------------------------- diff --git a/mac/mac_res.r b/mac/mac_res.r index 24f124ca..547cd761 100644 --- a/mac/mac_res.r +++ b/mac/mac_res.r @@ -1,4 +1,4 @@ -/* $Id: mac_res.r,v 1.12 2003/01/12 01:25:34 ben Exp $ */ +/* $Id: mac_res.r,v 1.13 2003/01/14 19:29:18 ben Exp $ */ /* * Copyright (c) 1999, 2002 Ben Harris * All rights reserved. @@ -42,6 +42,12 @@ #include "macresid.h" /* + * Current PuTTY version number. Minor is in BCD + */ +#define VERSION_MAJOR 0x00 +#define VERSION_MINOR 0x53 + +/* * Finder-related resources */ @@ -345,7 +351,7 @@ resource 'icl8' (130, purgeable) { resource 'vers' (1, purgeable) { /* XXX This needs to be updated for each new version */ - 0x00, 0x53, + VERSION_MAJOR, VERSION_MINOR, #ifdef RELEASE beta, #else @@ -369,7 +375,7 @@ resource 'vers' (1, purgeable) { resource 'vers' (2, purgeable) { /* XXX This needs to be updated for each new version */ - 0x00, 0x53, + VERSION_MAJOR, VERSION_MINOR, #ifdef RELEASE beta, #else