Skip to content

Commit a8ec9af

Browse files
authored
Always properly output the git information so generation can always happen when configured correctly. (#38)
Signed-off-by: AraHaan <[email protected]>
1 parent 1b99b65 commit a8ec9af

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

build/GitBuildInfo.SourceGenerator.targets

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
</Task>
1313
</UsingTask>
1414

15-
<Target Name="BeforeCompile">
15+
<Target Name="BeforeBuild">
1616
<GitInfoTask OutputPath="$(MSBuildProjectDirectory)\GitInfo.json" />
1717
</Target>
18+
1819
</Project>

src/GitBuildInfo.SourceGenerator.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<TargetFramework>netstandard2.0</TargetFramework>
66
<LangVersion>latest</LangVersion>
77
<Nullable>enable</Nullable>
8-
<Version>1.0.9</Version>
9-
<PackageReleaseNotes>Fixed a generator bug.</PackageReleaseNotes>
8+
<Version>1.0.10</Version>
9+
<PackageReleaseNotes>Always properly output the git information so generation can always happen when configured correctly.</PackageReleaseNotes>
1010
<Company>Els_kom org.</Company>
1111
<Authors>Els_kom org.</Authors>
1212
<Copyright>Copyright (c) 2021</Copyright>

0 commit comments

Comments
 (0)