mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 17:08:47 +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)"/>
|
||||
|
||||
<Zip Files="@(Zip-MsDeploy)" WorkingDirectory="$(MsDeployFolder)" ZipFileName="$(MsDeployArtifactFolder)\Orchard.Web.zip" />
|
||||
<Zip Files="@(Zip-Source)" WorkingDirectory="$(MSBuildProjectDirectory)" ZipFileName="$(SourceArtifactFolder)\Orchard.Source.zip" />
|
||||
<PropertyGroup>
|
||||
<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>
|
||||
|
||||
<!-- Profiling -->
|
||||
|
Loading…
Reference in New Issue
Block a user