diff options
Diffstat (limited to 'build/publish.csproj')
-rw-r--r-- | build/publish.csproj | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/build/publish.csproj b/build/publish.csproj index 500e0dec..37a5f626 100644 --- a/build/publish.csproj +++ b/build/publish.csproj @@ -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">
|