Created
September 20, 2013 19:39
-
-
Save Red-Folder/6642746 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write-Host "Checking if this is version specific config.xml" | |
$versionSpecificConfig = $env:workspace + "\res\xml\" + $env:pluginversion + "\config.xml" | |
if ((Test-Path $versionSpecificConfig -PathType Leaf)) { | |
Write-Host "Version specific config found: " + $versionSpecificConfig | |
Remove-Item ($env:workspace + "\res\xml\config.xml") | |
Copy-Item ($versionSpecificConfig) -Destination ($env:workspace + "\res\xml\") | |
} else { | |
Write-Host "No specific config.xml version. Will use standard." | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment