Skip to content

Commit

Permalink
Update git tag command
Browse files Browse the repository at this point in the history
First-parent prevents extra lines showing when a merge commit (which has two parents) was the source of a tag
  • Loading branch information
atruskie authored Mar 7, 2018
1 parent cebd358 commit 2490369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AnalysisPrograms/AnalysisPrograms.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@
<!-- <Output TaskParameter="CommitsCount" PropertyName="GitCommitsCount" />-->
<!-- </GitCommits>-->
<PropertyGroup>
<TagCommand>--tags --simplify-by-decoration --pretty="format:%ai %d" --after="$([System.DateTime]::Now.ToString("yyyy-MM-01T00:00Z"))"</TagCommand>
<TagCommand>--tags --simplify-by-decoration --first-parent --pretty="format:%ai %d" --after="$([System.DateTime]::Now.ToString("yyyy-MM-01T00:00Z"))"</TagCommand>
</PropertyGroup>
<GitClient Command="log" Arguments="$(TagCommand)">
<Output TaskParameter="ConsoleOutput" ItemName="GitTagCount" />
Expand Down Expand Up @@ -566,4 +566,4 @@
<Import Project="..\..\packages\SQLitePCLRaw.lib.e_sqlite3.linux.1.1.9\build\net35\SQLitePCLRaw.lib.e_sqlite3.linux.targets" Condition="Exists('..\..\packages\SQLitePCLRaw.lib.e_sqlite3.linux.1.1.9\build\net35\SQLitePCLRaw.lib.e_sqlite3.linux.targets')" />
<Import Project="..\..\packages\SQLitePCLRaw.lib.e_sqlite3.osx.1.1.9\build\net35\SQLitePCLRaw.lib.e_sqlite3.osx.targets" Condition="Exists('..\..\packages\SQLitePCLRaw.lib.e_sqlite3.osx.1.1.9\build\net35\SQLitePCLRaw.lib.e_sqlite3.osx.targets')" />
<Import Project="..\..\packages\SQLitePCLRaw.lib.e_sqlite3.v110_xp.1.1.9\build\net35\SQLitePCLRaw.lib.e_sqlite3.v110_xp.targets" Condition="Exists('..\..\packages\SQLitePCLRaw.lib.e_sqlite3.v110_xp.1.1.9\build\net35\SQLitePCLRaw.lib.e_sqlite3.v110_xp.targets')" />
</Project>
</Project>

0 comments on commit 2490369

Please sign in to comment.