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
<rule name="RewriteCustomCultures" enabled="true"> | |
<match url="^(/?)en-(jp)(/?)(.*)?" /> | |
<action type="Rewrite" url="en-{CustomCultures:{R:2}}/{R:4}" appendQueryString="true" /> | |
</rule> |
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
<rewriteMaps> | |
<rewriteMap name="CustomCultures"> | |
<add key="jp" value="jm" /> | |
</rewriteMap> | |
</rewriteMaps> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | |
<!-- | |
In the default configuration of the global file, the values for a configuration in the global file supersede the values | |
in the project configuration. This behavior can be changed by specifying a condition on the property as follows: | |
<SitecoreWebUrl Condition=" '$(SitecoreWebUrl)' == '' "></SitecoreWebUrl> | |
By adding the above condition, the value specified in the global configuration file will only be applied if the |
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
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | |
<PropertyGroup> | |
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | |
</PropertyGroup> | |
<Error Condition="!Exists('..\packages\Hedgehog.TDS.BuildExtensions.GitDeltaDeploy.2.0.2\build\Hedgehog.TDS.BuildExtensions.GitDeltaDeploy.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Hedgehog.TDS.BuildExtensions.GitDeltaDeploy.2.0.2\build\Hedgehog.TDS.BuildExtensions.GitDeltaDeploy.targets'))" /> | |
<Error Condition="!Exists('..\packages\HedgehogDevelopment.TDS.5.7.0.10\build\HedgehogDevelopment.TDS.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\HedgehogDevelopment.TDS.5.7.0.10\build\HedgehogDevelopment.TDS.targets'))" /> | |
</Target> | |
<Import Project="..\packages\HedgehogDevelopment.TDS.5 |
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 |
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
function PackageInstall($WebSiteFolder, $PSScriptRoot, $sitecoreUrl) | |
{ | |
#build tds projects | |
& "..\\VS Build Scripts\\DeveloperTdsBuild.bat" | |
#set package installer paths | |
$RepoDir = Split-Path $PSScriptRoot -parent | |
$parentDir = Split-Path $RepoDir -parent | |
$TDSPackagesFolder = $RepoDir + "\TDSPackages" | |
$PackageInstallerExePath = $RepoDir + "\TdsPackageInstaller\PackageInstaller.exe" |
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
.".\PackageInstallerFunction.ps1" | |
$PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent | |
PackageInstall "Website" $PSScriptRoot "https:\\some.website" |
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
###################################################### | |
# Retrieves the last successful build of a TeamCity Project | |
# Finding the Commit Hash | |
# http://blogs.lessthandot.com/index.php/uncategorized/access-git-commits-during-a-teamcity-build-using-powershell/ | |
###################################################### | |
function Get-TeamCityLastSuccessfulRun([string] $TeamCityUrl, [string] $TeamCityBuildTypeId, [string] $TeamCityUsername, [string] $TeamCityPassword) | |
{ | |
$Credentials = "$($TeamCityUsername):$($TeamCityPassword)" | |
$AuthString = [System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes("$Credentials")) |
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
param( | |
[string] $LastGitCommitId, | |
[string] $AccessToken, | |
[string] $AzureDevOpsAccountName, | |
[string] $TeamProjectId, | |
[string] $ReleaseDefinitionId | |
) | |
if ([string]::IsNullOrEmpty($LastGitCommitId)) | |
{ | |
$hdrs = @{} |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<!-- | |
Purpose: This include file enables the History Engine for Sitecore databases. | |
To enable this include file, rename it to have a ".config" extension. | |
--> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> | |
<sitecore> |
OlderNewer