Create a new Build Artifact called Manual-Update.zip that contains the files needed to update to a later build of current release.
This commit is contained in:
parent
9678eddcdc
commit
17863db4ec
2 changed files with 7 additions and 0 deletions
Binary file not shown.
|
@ -383,6 +383,11 @@
|
|||
<!-- Update variables in the file -->
|
||||
<FileUpdate Files="$(EnterpriseServerUpdate)\Setup\update_db.sql" Regex="\${release.version}" ReplacementText="$(FileVersion)" />
|
||||
<FileUpdate Files="$(EnterpriseServerUpdate)\Setup\update_db.sql" Regex="\${release.date}" ReplacementText="$(ReleaseDate)" />
|
||||
|
||||
<Copy SourceFiles="$(TrunkFolder)\Database\update_db.sql" DestinationFolder="$(UpdateFolder)" />
|
||||
<!-- Update variables in the file -->
|
||||
<FileUpdate Files="$(UpdateFolder)\update_db.sql" Regex="\${release.version}" ReplacementText="$(FileVersion)" />
|
||||
<FileUpdate Files="$(UpdateFolder)\update_db.sql" Regex="\${release.date}" ReplacementText="$(ReleaseDate)" />
|
||||
</Target>
|
||||
|
||||
<Target Name="CreatePortalUpdate" DependsOnTargets="CreateEnterpriseServerUpdate" >
|
||||
|
@ -496,11 +501,13 @@
|
|||
<PortalUpdateFiles Include="$(PortalUpdate)\**\*.*" />
|
||||
<EnterpriseServerUpdateFiles Include="$(EnterpriseServerUpdate)\**\*.*" />
|
||||
<ServerUpdateFiles Include="$(ServerUpdate)\**\*.*" />
|
||||
<ManualUpdateFiles Include="$(UpdateFolder)\**\*.*" />
|
||||
</ItemGroup>
|
||||
|
||||
<Zip Files="@(PortalUpdateFiles)" ZipFileName="$(DeployFolder)\WebsitePanel-Portal-$(Version)-Update.zip" WorkingDirectory="$(PortalUpdate)" />
|
||||
<Zip Files="@(EnterpriseServerUpdateFiles)" ZipFileName="$(DeployFolder)\WebsitePanel-EnterpriseServer-$(Version)-Update.zip" WorkingDirectory="$(EnterpriseServerUpdate)" />
|
||||
<Zip Files="@(ServerUpdateFiles)" ZipFileName="$(DeployFolder)\WebsitePanel-Server-$(Version)-Update.zip" WorkingDirectory="$(ServerUpdate)" />
|
||||
<Zip Files="@(ManualUpdateFiles)" ZipFileName="$(DeployFolder)\Manual-Update.zip" WorkingDirectory="$(UpdateFolder)" />
|
||||
|
||||
<!-- zip tools -->
|
||||
<Zip Files="@(ImportCsvInstallFiles)" ZipFileName="$(ToolsFolder)\WebsitePanel-Import-CsvBulk-$(Version).zip" WorkingDirectory="$(ImportCsvInstall)" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue