From ec3f1408240a97a698567da9ef095f346ad03299 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Mon, 10 Mar 2008 20:15:04 -0700 Subject: [PATCH] setup: use "-rNN" with NN the "revision number" instead of "-NN" with NN the "build number" in the Windows builds --- misc/sub-ver.py | 2 +- windows/installer.tmpl | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/misc/sub-ver.py b/misc/sub-ver.py index c5e0e83f..3bee7990 100644 --- a/misc/sub-ver.py +++ b/misc/sub-ver.py @@ -17,7 +17,7 @@ vern = { 'minor': v.minor, 'point': v.micro, 'micro': v.micro, - 'nano' : v.nano, + 'revision' : v.revision, 'build': str(v), } diff --git a/windows/installer.tmpl b/windows/installer.tmpl index 484d3f24..599e4dc0 100644 --- a/windows/installer.tmpl +++ b/windows/installer.tmpl @@ -1,8 +1,8 @@ [Setup] AppName=Allmydata 3.0 -AppVerName=Allmydata 3.0 %(major)d.%(minor)d.%(point)d-%(nano)d -AppVersion=%(major)d.%(minor)d.%(point)d-%(nano)d -VersionInfoVersion=%(major)d.%(minor)d.%(point)d.%(nano)d +AppVerName=Allmydata 3.0 %(major)d.%(minor)d.%(point)d-r%(revision)d +AppVersion=%(major)d.%(minor)d.%(point)d-r%(revision)d +VersionInfoVersion=%(major)d.%(minor)d.%(point)d.%(revision)d AppPublisher=Allmydata Inc. AppPublisherURL=http://www.allmydata.com/ AppSupportURL=http://www.allmydata.com/support/ @@ -18,7 +18,7 @@ SetupIconFile=../installer.ico UninstallDisplayIcon=../amdicon.ico ; license file needs to be build/all dir ;LicenseFile=../license.txt -OutputBaseFilename=Allmydata_Tahoe_Setup_v%(major)d_%(minor)d_%(point)d_%(nano)d +OutputBaseFilename=Allmydata_Tahoe_Setup_v%(major)d_%(minor)d_%(point)d_r%(revision)d [Files] ; contents of 'binaries' dir. (consolidated build target) @@ -44,7 +44,7 @@ Filename: "{app}\Install\winfuse\InstallUtil.exe"; Parameters: """{app}\Install\ Filename: "{app}\Install\confwiz.exe"; Flags: hidewizard ;Filename: "{app}\Install\ReadMe.txt"; Description: "View the ReadMe file"; Flags: unchecked postinstall nowait shellexec skipifdoesntexist Filename: "{app}\Install\winfuse\AllmydataTray.exe"; Description: "Run Allmydata"; Flags: postinstall nowait -Filename: "http://beta.allmydata.com/welcome_install?v=%(major)d.%(minor)d.%(point)d.%(nano)d"; Description: "View the Welcome Page"; Flags: postinstall shellexec +Filename: "http://beta.allmydata.com/welcome_install?v=%(major)d.%(minor)d.%(point)d.%(revision)d"; Description: "View the Welcome Page"; Flags: postinstall shellexec [UninstallRun] ; Performed before the uninstaller runs to undo things -- 2.45.2