Add version# at end of zip file names

--HG--
branch : dev
This commit is contained in:
Renaud Paquay 2010-07-19 14:25:26 -07:00
parent e019aeb597
commit 0c2087f479

View File

@ -221,8 +221,13 @@
<MakeDir Directories="$(MsDeployArtifactFolder);$(SourceArtifactFolder)"/> <MakeDir Directories="$(MsDeployArtifactFolder);$(SourceArtifactFolder)"/>
<Zip Files="@(Zip-MsDeploy)" WorkingDirectory="$(MsDeployFolder)" ZipFileName="$(MsDeployArtifactFolder)\Orchard.Web.zip" /> <PropertyGroup>
<Zip Files="@(Zip-Source)" WorkingDirectory="$(MSBuildProjectDirectory)" ZipFileName="$(SourceArtifactFolder)\Orchard.Source.zip" /> <ZipVersionFileSuffix Condition="$(Version) != ''">.$(Version)</ZipVersionFileSuffix>
<ZipVersionFileSuffix Condition="$(Version) == ''"></ZipVersionFileSuffix>
</PropertyGroup>
<Zip Files="@(Zip-MsDeploy)" WorkingDirectory="$(MsDeployFolder)" ZipFileName="$(MsDeployArtifactFolder)\Orchard.Web$(ZipVersionFileSuffix).zip" />
<Zip Files="@(Zip-Source)" WorkingDirectory="$(MSBuildProjectDirectory)" ZipFileName="$(SourceArtifactFolder)\Orchard.Source$(ZipVersionFileSuffix).zip" />
</Target> </Target>
<!-- Profiling --> <!-- Profiling -->