Skip to content

Instantly share code, notes, and snippets.

@adoprog
Created May 18, 2013 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adoprog/5605376 to your computer and use it in GitHub Desktop.
Save adoprog/5605376 to your computer and use it in GitHub Desktop.
Zip
task Zip {
$outputPath = "$buildFolder\output\LaunchSitecore.Build.$buildNumber.zip"
Copy-Item "$buildFolder\website\bin_Net4\*" "$buildFolder\website\bin\"
sz a $outputPath "$buildFolder\data" -xr!serialization* -mx1
sz a $outputPath "$buildFolder\website" -mx1
sz a $outputPath "$buildFolder\databases" -xr!*\Oracle\* -mx1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment