Skip to content

Commit 3c11805

Browse files
committed
Respect the retainVsix flag when running release tests
1 parent 70f626b commit 3c11805

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* As a workaround, make an edit within the file before using Rename Symbol.
1313

1414
## 1.23.16 (Not released yet)
15-
1615
* Show decompilation authorization once per install. ([#3982](https://github.com/OmniSharp/omnisharp-vscode/issues/3982), PR: [#4760](https://github.com/OmniSharp/omnisharp-vscode/pull/4760))
1716
* Launch with first Folder or Solution target found (PR: [#4780](https://github.com/OmniSharp/omnisharp-vscode/pull/4780))
1817
* Update Debugger Labels (PR: [#4798](https://github.com/OmniSharp/omnisharp-vscode/pull/4798))
@@ -25,7 +24,6 @@
2524
* handle RecordStructName in semantic highlighting classification ([omnisharp-roslyn#2228](https://github.com/OmniSharp/omnisharp-roslyn/issues/2228) PR: [omnisharp-roslyn#2232](https://github.com/OmniSharp/omnisharp-roslyn/pull/2232))
2625
* Update CodeStructureService with FileScoped Namespace support ([omnisharp-roslyn#2225](https://github.com/OmniSharp/omnisharp-roslyn/issues/2225) PR: [omnisharp-roslyn#2226](https://github.com/OmniSharp/omnisharp-roslyn/pull/2226))
2726

28-
2927
## 1.23.15 (Aug 31st, 2021)
3028
* Restore launch target for workspace root when no solution present ([#4691](https://github.com/OmniSharp/omnisharp-vscode/issues/4691), PR: [#4695](https://github.com/OmniSharp/omnisharp-vscode/pull/4695))
3129
* Don't create launch.json for no select process ([omnisharp-roslyn#4696](https://github.com/OmniSharp/omnisharp-roslyn/issues/4696), PR: [#4699](https://github.com/OmniSharp/omnisharp-vscode/pull/4699))

tasks/offlinePackagingTasks.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ gulp.task('vsix:offline:package', async () => {
4444
throw new Error('Do not build offline packages on windows. Runtime executables will not be marked executable in *nix packages.');
4545
}
4646

47-
await cleanAsync(true);
47+
//if user does not want to clean up the existing vsix packages
48+
await cleanAsync(/* deleteVsix: */ !commandLineOptions.retainVsix);
4849

4950
del.sync(vscodeignorePath);
5051

@@ -59,13 +60,6 @@ gulp.task('vsix:offline:package', async () => {
5960
});
6061

6162
async function doPackageOffline() {
62-
if (commandLineOptions.retainVsix) {
63-
//if user doesnot want to clean up the existing vsix packages
64-
await cleanAsync(false);
65-
}
66-
else {
67-
await cleanAsync(true);
68-
}
6963

7064
const packageJSON = getPackageJSON();
7165

0 commit comments

Comments
 (0)