diff --git a/appveyor.yml b/appveyor.yml index f77efd2..5207189 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,14 +3,11 @@ #---------------------------------# # version format -version: 0.1.0.{build} +version: 0.1.1.{build} # Do not build on tags (GitHub and BitBucket) skip_tags: true -# Maximum number of concurrent jobs for the project -max_jobs: 1 - #---------------------------------# # environment configuration # #---------------------------------# @@ -29,4 +26,4 @@ build_script: # artifacts # #---------------------------------# artifacts: -- path: .\*.nupkg \ No newline at end of file +- path: .\GitExtensions.Extensibility.*.nupkg \ No newline at end of file diff --git a/src/GitExtensions.Extensibility/GitExtensions.Extensibility.nuspec b/src/GitExtensions.Extensibility/GitExtensions.Extensibility.nuspec index a9fb8c5..76b1ab7 100644 --- a/src/GitExtensions.Extensibility/GitExtensions.Extensibility.nuspec +++ b/src/GitExtensions.Extensibility/GitExtensions.Extensibility.nuspec @@ -9,7 +9,6 @@ - diff --git a/src/GitExtensions.Extensibility/build/net461/GitExtensions.Extensibility.props b/src/GitExtensions.Extensibility/build/net461/GitExtensions.Extensibility.props deleted file mode 100644 index daec9de..0000000 --- a/src/GitExtensions.Extensibility/build/net461/GitExtensions.Extensibility.props +++ /dev/null @@ -1,7 +0,0 @@ - - - - ..\..\references - - - \ No newline at end of file diff --git a/src/GitExtensions.Extensibility/build/net461/GitExtensions.Extensibility.targets b/src/GitExtensions.Extensibility/build/net461/GitExtensions.Extensibility.targets index 8ad6ebc..618b1c4 100644 --- a/src/GitExtensions.Extensibility/build/net461/GitExtensions.Extensibility.targets +++ b/src/GitExtensions.Extensibility/build/net461/GitExtensions.Extensibility.targets @@ -1,24 +1,37 @@ + + + ..\..\gitextensions.shared + latest + GitHub + $([System.IO.Path]::Combine('$(ProjectDir)', '$(GitExtensionsDownloadPath)', 'GitExtensions')) + + + + - <_GitExtensionsDownloadPath>$([System.IO.Path]::Combine('$(ProjectDir)', '$(GitExtensionsDownloadPath)')) <_GitExtensionsDownloadScriptPath>$([System.IO.Path]::Combine('$(MSBuildThisFileDirectory)', '..\..\tools\Download-GitExtensions.ps1')) - - $([System.IO.Path]::Combine('$(ProjectDir)', '$(GitExtensionsDownloadPath)\GitExtensions')) - $(GitExtensionsPath)\Plugins + $([System.IO.Path]::Combine('$(GitExtensionsPath)', 'UserPlugins')) $([System.IO.Path]::Combine('$(GitExtensionsPath)', 'GitExtensions.exe')) - GitHub - latest + + + - + + + + + + - \ No newline at end of file + diff --git a/src/GitExtensions.Extensibility/tools/Download-GitExtensions.ps1 b/src/GitExtensions.Extensibility/tools/Download-GitExtensions.ps1 index 36b3c9b..b4cfef3 100644 --- a/src/GitExtensions.Extensibility/tools/Download-GitExtensions.ps1 +++ b/src/GitExtensions.Extensibility/tools/Download-GitExtensions.ps1 @@ -85,7 +85,7 @@ function Find-ArchiveUrlFromGitHub { foreach ($Asset in $SelectedRelease.assets) { - if ($Asset.content_type -eq "application/zip" -and $Asset.name.Contains('Portable')) + if ($Asset.name.Contains('Portable') -and $Asset.name.EndsWith('.zip')) { Write-Host "Selected asset '$($Asset.name)'."; return $Version,$Asset.browser_download_url;