|
|
|
@ -6,8 +6,9 @@ |
|
|
|
|
<Target Name="Build" DependsOnTargets="_Clean;_Prerequisites;_StampVersion;_GenerateSource;_Build" /> |
|
|
|
|
<Target Name="Label" DependsOnTargets="_HgLabel" /> |
|
|
|
|
<Target Name="Package" DependsOnTargets="_HgPack;_NugetPack" /> |
|
|
|
|
<Target Name="PushAll" DependsOnTargets="_HgPush;_PkgPush;_NugetPush" /> |
|
|
|
|
<Target Name="Publish" DependsOnTargets="Clean;Build;Label;Package;PushAll" /> |
|
|
|
|
<Target Name="Prepare" DependsOnTargets="Clean;Build;Label;Package" /> |
|
|
|
|
<Target Name="PushAll" DependsOnTargets="_HgPush;_NugetPush" /> |
|
|
|
|
<Target Name="Publish" DependsOnTargets="Prepare;PushAll" /> |
|
|
|
|
|
|
|
|
|
<PropertyGroup> |
|
|
|
|
<ProjectName>Protocol Buffers</ProjectName> |
|
|
|
@ -126,8 +127,8 @@ |
|
|
|
|
</Target> |
|
|
|
|
|
|
|
|
|
<Target Name="_HgLabel" DependsOnTargets="_Prerequisites"> |
|
|
|
|
<Exec Command="$(HgTool) tag $(VersionLabel)" WorkingDirectory="$(ProjectDirectory)" /> |
|
|
|
|
<Exec Command="$(HgTool) commit -m "version $(VersionLabel)"" WorkingDirectory="$(ProjectDirectory)" /> |
|
|
|
|
<Exec Command="$(HgTool) tag $(VersionLabel)" WorkingDirectory="$(ProjectDirectory)" /> |
|
|
|
|
</Target> |
|
|
|
|
|
|
|
|
|
<Target Name="_HgPush" DependsOnTargets="_Prerequisites"> |
|
|
|
|