mirror of
https://github.com/python/cpython.git
synced 2025-10-03 21:55:41 +00:00
parent
cf445f1056
commit
2df52acce2
1 changed files with 1 additions and 1 deletions
|
@ -408,7 +408,7 @@
|
|||
<MakeDir Directories="$(IntDir)" Condition="!Exists($(IntDir))" />
|
||||
<Exec Command="$(_GIT) name-rev --name-only HEAD > "$(IntDir)gitbranch.txt"" ContinueOnError="true" />
|
||||
<Exec Command="$(_GIT) rev-parse HEAD > "$(IntDir)gitversion.txt"" ContinueOnError="true" />
|
||||
<Exec Command="$(_GIT) name-rev --tags --name id -t > "$(IntDir)gittag.txt"" ContinueOnError="true" />
|
||||
<Exec Command="$(_GIT) name-rev --tags --name-only HEAD > "$(IntDir)gittag.txt"" ContinueOnError="true" />
|
||||
<PropertyGroup>
|
||||
<GitBranch Condition="Exists('$(IntDir)gitbranch.txt')">$([System.IO.File]::ReadAllText('$(IntDir)gitbranch.txt').Trim())</GitBranch>
|
||||
<GitVersion Condition="Exists('$(IntDir)gitversion.txt')">$([System.IO.File]::ReadAllText('$(IntDir)gitversion.txt').Trim())</GitVersion>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue