Skip to content

Instantly share code, notes, and snippets.

@adoprog
Last active December 17, 2015 11:49
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/5605383 to your computer and use it in GitHub Desktop.
Save adoprog/5605383 to your computer and use it in GitHub Desktop.
Variables
$scriptRoot = Split-Path (Resolve-Path $myInvocation.MyCommand.Path)
if (-not (test-path "$env:ProgramFiles\7-Zip\7z.exe")) {throw "$env:ProgramFiles\7-Zip\7z.exe needed"}
set-alias sz "$env:ProgramFiles\7-Zip\7z.exe"
properties {
$distributivePath = "C:\Sitecore 6.6.0 rev. 130404.zip"
$localStorage = "C:\LocalStorage"
$distributiveName = [System.IO.Path]::GetFileNameWithoutExtension($distributivePath)
$zipFile = "$localStorage\$distributiveName.zip"
$buildFolder = Resolve-Path ..
$buildNumber = "12345"
$tag_dir = "$localStorage\LiveSite"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment