Skip to content

Commit 68420fb

Browse files
Merge pull request #81 from max-ieremenko/remove/nuget.exe
remove nuget.exe
2 parents d535b40 + 7de73dd commit 68420fb

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

Build/nuget.exe

-5.53 MB
Binary file not shown.

Build/tasks/build-tasks.ps1

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ task Initialize {
1919
$artifacts = Join-Path $bin 'artifacts'
2020

2121
$script:settings = @{
22-
nugetexe = Join-Path $root 'Build\nuget.exe'
2322
sources = $sources
2423
bin = $bin
2524
artifacts = $artifacts
@@ -62,8 +61,6 @@ task PackGlobalTool {
6261
-c Release `
6362
-p:PackAsTool=true `
6463
-p:GlobalTool=true `
65-
-p:PackageVersion=$($settings.version) `
66-
-p:RepositoryCommit=$($settings.repositoryCommitId) `
6764
-o $($settings.artifacts) `
6865
$projectFile
6966
}
@@ -95,14 +92,13 @@ task PackNuget472 PackPoweShellModule, {
9592
}
9693

9794
$nuspec = Join-Path $settings.sources 'SqlDatabase.Package\nuget\package.nuspec'
98-
exec {
99-
& $($settings.nugetexe) pack `
100-
-NoPackageAnalysis `
101-
-verbosity detailed `
102-
-OutputDirectory $($settings.artifacts) `
103-
-Version $($settings.version) `
104-
-p RepositoryCommit=$($settings.repositoryCommitId) `
105-
-p bin=$bin `
95+
exec {
96+
dotnet pack `
97+
--no-build `
98+
--version=$($settings.version) `
99+
-p:RepositoryCommit=$($settings.repositoryCommitId) `
100+
-p:bin=$bin `
101+
-o $($settings.artifacts) `
106102
$nuspec
107103
}
108104
}

0 commit comments

Comments
 (0)