File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 <DoVersionName >$(DoMajor).$(DoMinor).$(DoPatch)</DoVersionName >
1919 <DoVersionName Condition =" '$(DoVersionSuffix)'!=''" >$(DoVersionName)-$(DoVersionSuffix)</DoVersionName >
2020 <DoPackageIcon >$(MSBuildThisFileDirectory)do-nuget.png</DoPackageIcon >
21- <DoRevFile >$(MSBuildThisFileDirectory)_Build\rev.txt</DoRevFile >
2221 </PropertyGroup >
2322
2423 <PropertyGroup >
7877 <PackagePath >.</PackagePath >
7978 <Pack >true</Pack >
8079 </None >
81- <None Include =" $(DoRevFile)" Visible =" false" Condition =" Exists('$(DoRevFile)')" >
82- <PackagePath >.</PackagePath >
83- <Pack >true</Pack >
84- </None >
8580 </ItemGroup >
86- <Target Name =" ExportRev"
87- BeforeTargets =" Pack"
88- Condition =" '$(Configuration)' == 'Release' AND Exists('$(SolutionDir).git\index')"
89- Inputs =" $(SolutionDir).git\index"
90- Outputs =" $(DoRevFile)" >
91- <MakeDir Directories =" $(SolutionDir)_Build" />
92- <Exec Command =" git rev-parse HEAD > rev.txt" WorkingDirectory =" $(SolutionDir)_Build" />
93- </Target >
9481
9582 <Import Condition =" Exists('User.Directory.Build.props')" Project =" User.Directory.Build.props" />
9683</Project >
You can’t perform that action at this time.
0 commit comments