Skip to content
This repository was archived by the owner on Oct 26, 2022. It is now read-only.

Commit a2fccaf

Browse files
fix #31 remove nupkg deletion before dotnet pack
1 parent d2ec0dc commit a2fccaf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ class Action {
5555

5656
console.log(`NuGet Source: ${this.nugetSource}`)
5757

58-
fs.readdirSync(".").filter(fn => fn.endsWith("nupkg")).forEach(fn => fs.unlinkSync(fn))
59-
6058
this._executeInProcess(`dotnet build -c Release ${this.projectFile}`)
6159

6260
this._executeInProcess(`dotnet pack ${this.includeSymbols ? "--include-symbols -p:SymbolPackageFormat=snupkg" : ""} --no-build -c Release ${this.projectFile} -o .`)

0 commit comments

Comments
 (0)