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

Commit

Permalink
fix #31 remove nupkg deletion before dotnet pack
Browse files Browse the repository at this point in the history
  • Loading branch information
brandedoutcast committed May 22, 2020
1 parent d2ec0dc commit a2fccaf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ class Action {

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

fs.readdirSync(".").filter(fn => fn.endsWith("nupkg")).forEach(fn => fs.unlinkSync(fn))

this._executeInProcess(`dotnet build -c Release ${this.projectFile}`)

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

0 comments on commit a2fccaf

Please sign in to comment.