Skip to content

Commit b773814

Browse files
committed
Merge branch 'release/0.7.0'
* release/0.7.0: (34 commits) (maint) Updated package-lock.json (GH-68) Switched to using extensionPack Bump vscode from 1.1.27 to 1.1.28 Bump vscode from 1.1.26 to 1.1.27 Bump typescript from 3.2.2 to 3.2.4 Bump tslint from 5.12.0 to 5.12.1 (build) Don't fail build on Chocolatey error (build) Corrected issue with doc generation (doc) Updated Gitter link Bump @types/node from 10.12.17 to 10.12.18 Bump @types/node from 10.12.15 to 10.12.17 Bump tslint from 5.11.0 to 5.12.0 Bump @types/node from 10.12.14 to 10.12.15 Bump @types/node from 10.12.12 to 10.12.14 typos in readme Bump typescript from 3.2.1 to 3.2.2 Bump vscode from 1.1.24 to 1.1.26 Bump vscode from 1.1.22 to 1.1.24 Bump @types/ini from 1.3.29 to 1.3.30 Bump @types/node from 6.0.117 to 10.12.12 ...
2 parents 0381eab + 5efbced commit b773814

File tree

7 files changed

+2610
-2462
lines changed

7 files changed

+2610
-2462
lines changed

.mergify.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pull_request_rules:
2+
- name: delete head branch after merge
3+
conditions: []
4+
actions:
5+
delete_head_branch: {}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ For more information about [Chocolatey](https://chocolatey.org/), please see the
2424

2525
## Commands
2626

27-
The Chocolatey Visual Studio Code provides the following commands:
27+
The Chocolatey Visual Studio Code Extension provides the following commands:
2828

2929
* `Chocolatey: Create new Chocolatey package` to create the default templated Chocolatey package at the root of current workspace.
3030
* `Chocolatey: Pack Chocolatey package(s)` to search current workspace for nuspec files and package them
@@ -43,7 +43,7 @@ To use them, simply open your powershell file, and then type `choco` followed by
4343

4444
![Available Chocolatey Snippets](https://raw.githubusercontent.com/gep13/chocolatey-vscode/master/images/Choco-Snippets.png)
4545

46-
and then simply arrow up/down to the one you want and press enter, or left mouse click. From there the PowerShell for the helper function will be generated, and the cursor will be placed ready for you to start filling in the content of function...
46+
and then simply arrow up/down to the one you want and press enter, or left mouse click. From there the PowerShell code for the helper function will be generated, and the cursor will be placed ready for you to start filling in the content of function...
4747

4848
![Expanded Chocolatey Snippet](https://raw.githubusercontent.com/gep13/chocolatey-vscode/master/images/Expanded-Choco-Snippet.png)
4949

@@ -79,7 +79,7 @@ The execution of the Chocolatey commands in this extension would not have been p
7979

8080
If you would like to see any other snippet or features added for this VS Code Extension, feel free to raise an [issue](https://github.com/gep13/chocolatey-vscode/issues), and if possible, a follow up pull request.
8181

82-
You can also join in the Gitter Chat [![Join the chat at https://gitter.im/gep13/chocolatey-vscode](https://badges.gitter.im/gep13/chocolatey-vscode.svg)](https://gitter.im/gep13/chocolatey-vscode?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
82+
You can also join in the Gitter Chat [![Join the chat at https://gitter.im/gep13-oss/community](https://badges.gitter.im/gep13-oss/community.svg)](https://gitter.im/gep13-oss/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
8383

8484
## Releases
8585

build.cake

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,15 @@ Task("Create-Chocolatey-Package")
183183

184184
Task("Upload-AppVeyor-Artifacts")
185185
.IsDependentOn("Package-Extension")
186+
.IsDependentOn("Create-Chocolatey-Package")
186187
.WithCriteria(() => parameters.IsRunningOnAppVeyor)
187188
.Does(() =>
188189
{
189190
var buildResultDir = Directory("./build-results");
190191
var packageFile = File("chocolatey-vscode-" + parameters.Version.SemVersion + ".vsix");
192+
var chocolateyPackageFile = File("_Packages/chocolatey/chocolatey-vscode." + parameters.Version.SemVersion + ".nupkg");
191193
AppVeyor.UploadArtifact(buildResultDir + packageFile);
194+
AppVeyor.UploadArtifact(buildResultDir + chocolateyPackageFile);
192195
});
193196

194197
Task("Publish-GitHub-Release")
@@ -229,7 +232,10 @@ Task("Publish-Chocolatey-Package")
229232
.OnError(exception =>
230233
{
231234
Information("Publish-Chocolatey-Package Task failed, but continuing with next Task...");
232-
publishingError = true;
235+
236+
// TODO: Don't fail build if failure to push package to Chocolatey, as this is known to cause
237+
// some errors at the minute. An error can be returned, but the package is pushed correctly
238+
// publishingError = true;
233239
});
234240

235241
Task("Publish-Extension")

build/parameters.cake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,15 @@ public class BuildParameters
9999
{
100100
get
101101
{
102-
return "@/all Version " + Version.SemVersion + " of the Chocolatey VSCode Extension has just been released, https://marketplace.visualstudio.com/items?itemName=gep13.chocolatey-vscode.";
102+
return "@/all Version " + Version.SemVersion + " of the Chocolatey VSCode Extension has just been released, https://marketplace.visualstudio.com/items?itemName=gep13.chocolatey-vscode. Full release notes: https://github.com/gep13/chocolatey-vscode/releases/tag/" + Version.SemVersion;
103103
}
104104
}
105105

106106
public string TwitterMessage
107107
{
108108
get
109109
{
110-
return "Version " + Version.SemVersion + " of the Chocolatey VSCode Extension has just been released, https://marketplace.visualstudio.com/items?itemName=gep13.chocolatey-vscode.";
110+
return "Version " + Version.SemVersion + " of the Chocolatey VSCode Extension has just been released, https://marketplace.visualstudio.com/items?itemName=gep13.chocolatey-vscode. @chocolateynuget @code Full release notes: https://github.com/gep13/chocolatey-vscode/releases/tag/" + Version.SemVersion;
111111
}
112112
}
113113

@@ -191,9 +191,9 @@ public class BuildParameters
191191
}.Any(
192192
publishTarget => StringComparer.OrdinalIgnoreCase.Equals(publishTarget, target)
193193
),
194-
SkipGitVersion = StringComparer.OrdinalIgnoreCase.Equals("True", context.EnvironmentVariable("CAKE_SKIP_GITVERSION")),
194+
SkipGitVersion = StringComparer.OrdinalIgnoreCase.Equals("True", context.EnvironmentVariable("CHOCOLATEYVSCODE_SKIP_GITVERSION")),
195195
ChocolateyPackages = context.MakeAbsolute(context.Directory("build-results/_Packages/chocolatey")),
196-
WyamRootDirectoryPath = context.MakeAbsolute(context.Environment.WorkingDirectory),
196+
WyamRootDirectoryPath = context.MakeAbsolute(context.Directory("docs")),
197197
WyamPublishDirectoryPath = context.MakeAbsolute(context.Directory("build-results/_PublishedDocumentation")),
198198
WyamConfigurationFile = context.MakeAbsolute((FilePath)"config.wyam"),
199199
WyamRecipe = "Docs",

chocolatey/tools/VERIFICATION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ VERIFICATION
22
Verification is intended to assist the Chocolatey moderators and community
33
in verifying that this package's contents are trustworthy.
44

5-
This package is being officially supplied by the software author of these scripts (Kim J. Nordmo)
5+
This package is being officially supplied by the software author of these scripts (Gary Ewan Park, thanks to contributions from Kim J. Nordmo)
66

77
The included binary file can be downloaded from our releases page located at
88
<https://github.com/gep13/chocolatey-vscode/releases>

0 commit comments

Comments
 (0)