Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolayPianikov authored and NikolayPianikov committed May 20, 2020
1 parent bf5a404 commit c2db442
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions build.proj
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PackageVersion Condition=" '$(PackageVersion)' == '' ">3.0.0</PackageVersion>

<Build_Number Condition=" '$(Build_Number)' == '' ">0</Build_Number>
<AssemblyVersion>$(PackageVersion).$(Build_Number)</AssemblyVersion>
<Version>$(PackageVersion)</Version>

<Version Condition=" '$(Version)' == '' ">3.0.0-dev</Version>
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
<PackagesDirectory>packages</PackagesDirectory>
</PropertyGroup>

<Target Name="Build">
<MSBuild Projects="TeamCity.ServiceMessages.sln" BuildInParallel="true" Targets="Restore;Build" Properties="Configuration=$(Configuration);Version=$(Version);AssemblyVersion=$(AssemblyVersion)"/>
<MSBuild Projects="TeamCity.ServiceMessages.sln" BuildInParallel="true" Targets="Restore;Build" Properties="Configuration=$(Configuration);Version=$(Version)"/>
<Message Text="##teamcity[publishArtifacts 'TeamCity.ServiceMessages\bin\$(Configuration)\TeamCity.ServiceMessages.*.nupkg=>$(PackagesDirectory)']" />
</Target>

Expand Down

0 comments on commit c2db442

Please sign in to comment.