Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "swift-vscode",
"displayName": "Swift",
"description": "Swift Language Support for Visual Studio Code.",
"version": "2.8.0",
"version": "2.10.0",
"publisher": "swiftlang",
"icon": "icon.png",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions scripts/download_vsix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ const repo = repository.split("/")[1];
const files = await decompress("artifacts.zip", process.cwd());
console.log(`Downloaded artifact(s): ${files.map(f => f.path).join(", ")}`);
const newName = process.env["VSCODE_SWIFT_VSIX"] || "vscode-swift.vsix";
const releaseVSIX = files.find(f => /swift-vscode-\d.\d.\d-\d+.vsix/m.test(f.path));
const releaseVSIX = files.find(f => /swift-vscode-\d+.\d+.\d+-\d+.vsix/m.test(f.path));
if (!releaseVSIX) {
console.error("Cound not find vscode-swift release VSIX in artifact bundle");
process.exit(1);
}
await rename(releaseVSIX.path, newName);
const prereleaseVSIX = files.find(f => /swift-vscode-\d.\d.\d{8}-\d+.vsix/m.test(f.path));
const prereleaseVSIX = files.find(f => /swift-vscode-\d+.\d+.\d{8}-\d+.vsix/m.test(f.path));
if (!prereleaseVSIX) {
console.error("Cound not find vscode-swift pre-release VSIX in artifact bundle");
process.exit(1);
Expand Down