mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 06:19:47 +02:00
lazbuild: only save project lpi if AutoIncrementBuild, bug #30108
git-svn-id: trunk@52290 -
This commit is contained in:
parent
cfd3e115fb
commit
3b980db521
@ -959,8 +959,10 @@ begin
|
||||
Result := StartBuilding;
|
||||
|
||||
// Auto increment build number
|
||||
if Result and not NoWriteProject then
|
||||
begin
|
||||
if Result and not NoWriteProject
|
||||
and Project1.ProjResources.VersionInfo.UseVersionInfo
|
||||
and Project1.ProjResources.VersionInfo.AutoIncrementBuild
|
||||
then begin
|
||||
if FileIsWritable(AFilename) then
|
||||
begin
|
||||
Project1.ProjResources.DoAfterBuild(CompReason, Project1.IsVirtual);
|
||||
|
Loading…
Reference in New Issue
Block a user