1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

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.

[originally from svn r2598]
This commit is contained in:
Ben Harris 2003-01-14 19:29:18 +00:00
parent 34b400a131
commit 902fbc43c2
2 changed files with 15 additions and 4 deletions

View File

@ -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
----------------------------

View File

@ -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.
@ -41,6 +41,12 @@
/* Get resource IDs we share with C code */
#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