| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8e158b2 commit fd6c8bb
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -399,8 +399,8 @@ | |||
| 399 | 399 | <Message Text="Getting build info from $(_GIT)" Importance="high" /> | |
| 400 | 400 | <MakeDir Directories="$(IntDir)" Condition="!Exists($(IntDir))" /> | |
| 401 | 401 | <Exec Command="$(_GIT) name-rev --name-only HEAD > "$(IntDir)gitbranch.txt"" ContinueOnError="true" /> | |
| 402 | - <Exec Command="$(_GIT) rev-parse HEAD > "$(IntDir)gitversion.txt"" ContinueOnError="true" /> | ||
| 403 | - <Exec Command="$(_GIT) name-rev --tags --name-only HEAD > "$(IntDir)gittag.txt"" ContinueOnError="true" /> | ||
| 402 | + <Exec Command="$(_GIT) rev-parse --short HEAD > "$(IntDir)gitversion.txt"" ContinueOnError="true" /> | ||
| 403 | + <Exec Command="$(_GIT) describe --all --always --dirty > "$(IntDir)gittag.txt"" ContinueOnError="true" /> | ||
| 404 | 404 | <PropertyGroup> | |
| 405 | 405 | <GitBranch Condition="Exists('$(IntDir)gitbranch.txt')">$([System.IO.File]::ReadAllText('$(IntDir)gitbranch.txt').Trim())</GitBranch> | |
| 406 | 406 | <GitVersion Condition="Exists('$(IntDir)gitversion.txt')">$([System.IO.File]::ReadAllText('$(IntDir)gitversion.txt').Trim())</GitVersion> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments