[Python-checkins] Ensure LICENSE.txt file is generated even in PGO builds (GH-27580) (GH-27582)

pablogsal webhook-mailer at python.org
Tue Aug 3 12:38:14 EDT 2021


https://github.com/python/cpython/commit/4b46db68d0cb4a84f4f13501218a3ec2438fca1e
commit: 4b46db68d0cb4a84f4f13501218a3ec2438fca1e
branch: 3.10
author: Steve Dower <steve.dower at python.org>
committer: pablogsal <Pablogsal at gmail.com>
date: 2021-08-03T17:38:04+01:00
summary:

Ensure LICENSE.txt file is generated even in PGO builds (GH-27580) (GH-27582)

files:
M PCbuild/regen.targets

diff --git a/PCbuild/regen.targets b/PCbuild/regen.targets
index ff56d1148e845..08ace5707c6a8 100644
--- a/PCbuild/regen.targets
+++ b/PCbuild/regen.targets
@@ -110,7 +110,5 @@
     <Message Text="Wrote $(OutDir)LICENSE.txt" Importance="high" />
   </Target>
 
-  <Target Name="PostBuildRegen"
-          Condition="$(Configuration) != 'PGInstrument' and $(Configuration) != 'PGUpdate'"
-          DependsOnTargets="_RegenLicense" />
+  <Target Name="PostBuildRegen" DependsOnTargets="_RegenLicense" />
 </Project>



More information about the Python-checkins mailing list