File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed
TestStack.BDDfy/Properties Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 3
3
<Import Project =" Resource\Build\MSBuild.Community.Tasks.targets" />
4
4
5
5
<PropertyGroup >
6
+ <Version Condition =" $(GitVersion_SemVer)!=''" >$(GitVersion_SemVer)</Version >
6
7
<Version Condition =" $(Version)==''" >0.0.0.0</Version >
8
+ <NuGetVersion Condition =" $(GitVersion_MajorMinorPatch)==''" >$(Version)</NuGetVersion >
9
+ <NuGetVersion Condition =" $(GitVersion_MajorMinorPatch)!=''" >$(GitVersion_MajorMinorPatch)$(GitVersion_PreReleaseTagWithDash.Replace('.', ''))</NuGetVersion >
7
10
<BuildPath >$(MSBuildProjectDirectory)\Build</BuildPath >
8
11
<ArtifactPath >$(BuildPath)\Library</ArtifactPath >
9
12
<PackageWorkingPath >$(MSBuildProjectDirectory)\PackageBuild</PackageWorkingPath >
68
71
</CreateItem >
69
72
<CallTarget Targets =" CopyBDDfyLibs;CopyBDDfySampleFiles;CopyNuspecFiles" />
70
73
<MakeDir Directories =" $(PackageOutput)" ContinueOnError =" true" />
71
- <Exec Command =' $(NuGetExe) pack "%(NuGetSpec.FullPath)" -version $(Version )' WorkingDirectory =" $(PackageOutput)" />
74
+ <Exec Command =' $(NuGetExe) pack "%(NuGetSpec.FullPath)" -version $(NuGetVersion )' WorkingDirectory =" $(PackageOutput)" />
72
75
</Target >
73
76
74
77
<Target Name =" Release" DependsOnTargets =" Clean;Prepare;Build;Pack" />
Original file line number Diff line number Diff line change 11
11
[ assembly: AssemblyCulture ( "" ) ]
12
12
[ assembly: ComVisible ( false ) ]
13
13
14
- [ assembly: AssemblyVersion ( "3.15" ) ]
15
- [ assembly: AssemblyFileVersion ( "3.15" ) ]
14
+ [ assembly: AssemblyVersion ( "1.0.0.0" ) ]
15
+ [ assembly: AssemblyInformationalVersion ( "1.0.0.0" ) ]
16
+ [ assembly: AssemblyFileVersion ( "1.0.0.0" ) ]
Original file line number Diff line number Diff line change 1
- @ echo off
2
- @ %SystemRoot% \Microsoft.NET\Framework\v4.0.30319\msbuild Packages.build %*
1
+ @ echo on
2
+ %~dp0 \Resource\Build\GitVersion.exe /proj %~dp0 \ Packages.build /updateassemblyinfo /output buildserver /l console
You can’t perform that action at this time.
0 commit comments