From: Zooko O'Whielacronx Date: Tue, 11 Mar 2008 03:15:04 +0000 (-0700) Subject: setup: use "-rNN" with NN the "revision number" instead of "-NN" with NN the "build... X-Git-Tag: allmydata-tahoe-0.9.0~30 X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/%22doc.html/running.html?a=commitdiff_plain;h=ec3f1408240a97a698567da9ef095f346ad03299;p=tahoe-lafs%2Ftahoe-lafs.git setup: use "-rNN" with NN the "revision number" instead of "-NN" with NN the "build number" in the Windows builds --- 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