diff options
author | Steve Dower <steve.dower@microsoft.com> | 2017-03-04 05:57:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-04 05:57:47 (GMT) |
commit | 793f822068335cff68f25304a915c726f3f3a599 (patch) | |
tree | ad0822a6f77a9b172a4d25236147a8cf9d6129da | |
parent | d3e1e9df724d97ab83113c2d5fa15179d1dcd560 (diff) | |
download | cpython-793f822068335cff68f25304a915c726f3f3a599.zip cpython-793f822068335cff68f25304a915c726f3f3a599.tar.gz cpython-793f822068335cff68f25304a915c726f3f3a599.tar.bz2 |
Fixes git command (#451) (#452)
-rw-r--r-- | PCbuild/pythoncore.vcxproj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj index 8f8bede..d7e9473 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -415,7 +415,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> |