Skip to content

Commit 768d850

Browse files
committed
#31 - Integration of changes for debugging from EmptyPlugin.
1 parent 2194a35 commit 768d850

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

src/GitExtensions.BundleBackuper/GitExtensions.BundleBackuper.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ This plugin lets you create a .bundle containing all unpublished commits.</Descr
5656
</Target>
5757

5858
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
59-
<Exec Command="powershell.exe ..\..\tools\Download-GitExtensions.ps1" />
59+
<Exec Command="powershell.exe -ExecutionPolicy Unrestricted ..\..\tools\Download-GitExtensions.ps1" />
6060
</Target>
6161

6262
<Target Name="SetPackageProperties" BeforeTargets="GenerateNuspec">
@@ -80,6 +80,6 @@ This plugin lets you create a .bundle containing all unpublished commits.</Descr
8080
</Target>
8181

8282
<Target Name="Zip" AfterTargets="Pack">
83-
<Exec Command="powershell $(MSBuildProjectDirectory)\..\..\tools\Zip-GitExtensionsPlugin.ps1 -Version $(PackageVersion) -Configuration $(Configuration)" />
83+
<Exec Command="powershell -ExecutionPolicy Unrestricted $(MSBuildProjectDirectory)\..\..\tools\Zip-GitExtensionsPlugin.ps1 -Version $(PackageVersion) -Configuration $(Configuration)" />
8484
</Target>
8585
</Project>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"profiles": {
3+
"GitExtensions.BundleBackuper": {
4+
"commandName": "Executable",
5+
"executablePath": "$(SolutionDir)\\references\\GitExtensions\\GitExtensions.exe"
6+
}
7+
}
8+
}

tools/Download-GitExtensions.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ Set-Location $PSScriptRoot
22

33
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
44
$ExtractRootPath = '../references'
5-
$AssetToDownloadName = 'GitExtensions-Portable-3.00.00.02-rc1.zip';
6-
$AssetToDownloadUrl = 'https://github.com/gitextensions/gitextensions/releases/download/v3.00.00-rc1/GitExtensions-Portable-3.00.00.02-rc1.zip';
5+
$AssetToDownloadName = 'GitExtensions-Portable-3.0.2.5232.zip';
6+
$AssetToDownloadUrl = 'https://github.com/gitextensions/gitextensions/releases/download/v3.0.2/GitExtensions-Portable-3.0.2.5232.zip';
77

88
if (!($null -eq $AssetToDownloadUrl))
99
{

0 commit comments

Comments
 (0)