feat(ST2.PackageControl): 2.0.1-beta pre-release

- fixes issues with many packages being installed and package control
   completely wigging out
 - fixed bug that prevented "Package Control.sublime-package" from being
   overwritten
 - made Merge-PackageControlSettings fancier to handle named values
This commit is contained in:
Iristyle
2013-09-16 12:11:50 -04:00
parent 9eb87efe55
commit 385ed6dff5
4 changed files with 42 additions and 11 deletions

View File

@@ -3,7 +3,7 @@
<metadata>
<id>SublimeText2.PackageControl</id>
<title>Sublime Text 2 Package Control</title>
<version>1.6.3</version>
<version>2.0.1-beta1</version>
<authors>Will Bond</authors>
<owners>Ethan J Brown</owners>
<summary>A full-featured package manager that helps discovering, installing, updating and removing packages for Sublime Text 2. It features an automatic upgrader and supports GitHub, BitBucket and a full channel/repository system.</summary>
@@ -25,6 +25,7 @@
</metadata>
<files>
<file src="tools\**" target="tools" />
<file src="..\core\JsonHelpers.ps1" target="tools" />
<file src="..\core\SublimeHelpers.ps1" target="tools" />
</files>
</package>

View File

@@ -9,8 +9,13 @@ try {
$current = Get-CurrentDirectory
. (Join-Path $current 'SublimeHelpers.ps1')
. (Join-Path $current 'JsonHelpers.ps1')
Install-SublimePackageControl
# TODO: come up with a better way to do this install / set this setting
# that will work based on the semver in this packages .nuspec file
Install-SublimePackageControl -PreRelease
$packageControl = Join-Path $current 'Package Control.sublime-settings'
Merge-PackageControlSettings -FilePath $packageControl
Write-ChocolateySuccess $package
} catch {

View File

@@ -0,0 +1,3 @@
{
"install_prereleases": true
}