mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
Add version# at end of zip file names
--HG-- branch : dev
This commit is contained in:
parent
e019aeb597
commit
0c2087f479
@ -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 -->
|
||||||
|
Loading…
Reference in New Issue
Block a user