Created
October 31, 2018 12:43
-
-
Save vtml/c8745ba08a191a405c8f8ec6f92bdaad to your computer and use it in GitHub Desktop.
Building a TDS Package on a Developer's workstation
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
@echo off | |
:: global parameters | |
set msbuild="C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe" | |
set solution="..\Some.Sitecore.sln" | |
echo Please enter a Git Commit Hash, leaving it empty to build the entire TDS packages. | |
set GitCommitId = | |
set /P GitCommitId= | |
If "%GitCommitId%" == "" GOTO BuildFullTds | |
If "%GitCommitId%" NEQ "" GOTO GitDeltaDeploy | |
:GitDeltaDeploy | |
%msbuild% %solution% /property:Configuration=Tds /property:LastDeploymentGitCommitID=%GitCommitId% /property:LastDeploymentGitTagName= | |
GOTO END | |
:BuildFullTds | |
%msbuild% %solution% /property:Configuration=Tds /property:CullProjectFiles=False /property:CustomGitDeltaDeploy=False | |
GOTO END | |
:END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment