File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " swift-vscode" ,
3
3
"displayName" : " Swift" ,
4
4
"description" : " Swift Language Support for Visual Studio Code." ,
5
- "version" : " 2.8 .0" ,
5
+ "version" : " 2.10 .0" ,
6
6
"publisher" : " swiftlang" ,
7
7
"icon" : " icon.png" ,
8
8
"repository" : {
Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ const repo = repository.split("/")[1];
58
58
const files = await decompress ( "artifacts.zip" , process . cwd ( ) ) ;
59
59
console . log ( `Downloaded artifact(s): ${ files . map ( f => f . path ) . join ( ", " ) } ` ) ;
60
60
const newName = process . env [ "VSCODE_SWIFT_VSIX" ] || "vscode-swift.vsix" ;
61
- const releaseVSIX = files . find ( f => / s w i f t - v s c o d e - \d .\d .\d - \d + .v s i x / m. test ( f . path ) ) ;
61
+ const releaseVSIX = files . find ( f => / s w i f t - v s c o d e - \d + .\d + .\d + - \d + .v s i x / m. test ( f . path ) ) ;
62
62
if ( ! releaseVSIX ) {
63
63
console . error ( "Cound not find vscode-swift release VSIX in artifact bundle" ) ;
64
64
process . exit ( 1 ) ;
65
65
}
66
66
await rename ( releaseVSIX . path , newName ) ;
67
- const prereleaseVSIX = files . find ( f => / s w i f t - v s c o d e - \d .\d .\d { 8 } - \d + .v s i x / m. test ( f . path ) ) ;
67
+ const prereleaseVSIX = files . find ( f => / s w i f t - v s c o d e - \d + .\d + .\d { 8 } - \d + .v s i x / m. test ( f . path ) ) ;
68
68
if ( ! prereleaseVSIX ) {
69
69
console . error ( "Cound not find vscode-swift pre-release VSIX in artifact bundle" ) ;
70
70
process . exit ( 1 ) ;
You can’t perform that action at this time.
0 commit comments