mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 12:18:03 +02:00
win32 cross installers: add revision number in installer name
git-svn-id: trunk@16491 -
This commit is contained in:
parent
c17fd46445
commit
31a509fcbd
@ -118,6 +118,7 @@ del %INSTALL_BINDIR%\fpc.cfg
|
||||
|
||||
cd %OLDCURDIR%
|
||||
FOR /F "delims='" %%F IN (%LAZSVNDIR%\ide\version.inc) DO set LAZVERSION=%%F
|
||||
FOR /F %%F IN ('svnversion.exe %LAZSVNDIR%') DO set LAZREVISION=%%F
|
||||
%ISCC% lazarus-cross.iss
|
||||
|
||||
SET CPU_TARGET=
|
||||
|
@ -2,6 +2,7 @@
|
||||
EnableISX=true
|
||||
[Defines]
|
||||
#define AppVersion GetEnv('LazVersion')
|
||||
#define AppVersion GetEnv('LazRevision')
|
||||
#define FPCVersion GetEnv('FPCVersion')
|
||||
#define FPCFullVersion GetEnv('FPCFullVersion')
|
||||
#define FPCSourceOS GetEnv('FPCSourceOS')
|
||||
@ -21,7 +22,7 @@ ArchitecturesInstallIn64BitMode=x64
|
||||
DefaultDirName={code:GetDefDir|c:\lazarus}
|
||||
DefaultGroupName={#AppName}
|
||||
InternalCompressLevel=ultra
|
||||
OutputBaseFilename={#AppName}-{#AppVersion}-fpc-{#FPCFullVersion}-{#SetupDate}-cross-{#FPCFullTarget}-{#FPCSourceOS}
|
||||
OutputBaseFilename={#AppName}-{#AppVersion}-{#LazRevision}-fpc-{#FPCFullVersion}-{#SetupDate}-cross-{#FPCFullTarget}-{#FPCSourceOS}
|
||||
SolidCompression=true
|
||||
VersionInfoVersion={#AppVersion}
|
||||
VersionInfoTextVersion={#AppVersion}-{#SetupDate}
|
||||
|
Loading…
Reference in New Issue
Block a user