diff options
author | Steve Dower <steve.dower@microsoft.com> | 2017-03-04 05:55:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-04 05:55:06 (GMT) |
commit | 7030ca65de0507332a6af1c76bc720f8cdcae981 (patch) | |
tree | dde9bd12321d84a1a10a3293f25e1709e5dbe701 | |
parent | a0c07d2edd345d2867f97ac31822c9544f9cbcf0 (diff) | |
download | cpython-7030ca65de0507332a6af1c76bc720f8cdcae981.zip cpython-7030ca65de0507332a6af1c76bc720f8cdcae981.tar.gz cpython-7030ca65de0507332a6af1c76bc720f8cdcae981.tar.bz2 |
Fixes git command (#451)
-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 e373a91..de74fb0 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -416,7 +416,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> |