Skip to content

Commit 175d0cc

Browse files
authored
Bump version to 2.10 (#1750)
* Bump version to 2.10 * Allow more than one digit in version segments
1 parent d2dc6df commit 175d0cc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "swift-vscode",
33
"displayName": "Swift",
44
"description": "Swift Language Support for Visual Studio Code.",
5-
"version": "2.8.0",
5+
"version": "2.10.0",
66
"publisher": "swiftlang",
77
"icon": "icon.png",
88
"repository": {

scripts/download_vsix.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ const repo = repository.split("/")[1];
5858
const files = await decompress("artifacts.zip", process.cwd());
5959
console.log(`Downloaded artifact(s): ${files.map(f => f.path).join(", ")}`);
6060
const newName = process.env["VSCODE_SWIFT_VSIX"] || "vscode-swift.vsix";
61-
const releaseVSIX = files.find(f => /swift-vscode-\d.\d.\d-\d+.vsix/m.test(f.path));
61+
const releaseVSIX = files.find(f => /swift-vscode-\d+.\d+.\d+-\d+.vsix/m.test(f.path));
6262
if (!releaseVSIX) {
6363
console.error("Cound not find vscode-swift release VSIX in artifact bundle");
6464
process.exit(1);
6565
}
6666
await rename(releaseVSIX.path, newName);
67-
const prereleaseVSIX = files.find(f => /swift-vscode-\d.\d.\d{8}-\d+.vsix/m.test(f.path));
67+
const prereleaseVSIX = files.find(f => /swift-vscode-\d+.\d+.\d{8}-\d+.vsix/m.test(f.path));
6868
if (!prereleaseVSIX) {
6969
console.error("Cound not find vscode-swift pre-release VSIX in artifact bundle");
7070
process.exit(1);

0 commit comments

Comments
 (0)