-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpush.ps1
More file actions
16 lines (13 loc) · 779 Bytes
/
push.ps1
File metadata and controls
16 lines (13 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$localDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
[string]$version = Get-Content "$localDir\VERSION"
$nugetExe = Join-Path $localDir 'lib\nuget\nuget.exe'
Write-Host "Using `'$nugetExe`' to push packages"
& $nugetExe push "bin\this.Log.$($version).nupkg"
& $nugetExe push "bin\this.Log-log4net.$($version).nupkg"
& $nugetExe push "bin\this.Log-log4net.Sample.$($version).nupkg"
& $nugetExe push "bin\this.Log-log4net.VB.Sample.$($version).nupkg"
& $nugetExe push "bin\this.Log-NLog.$($version).nupkg"
& $nugetExe push "bin\this.Log-NLog.Sample.$($version).nupkg"
& $nugetExe push "bin\this.Log-NLog.VB.Sample.$($version).nupkg"
& $nugetExe push "bin\this.Log-Moq.$($version).nupkg"
& $nugetExe push "bin\this.Log-RhinoMocks.$($version).nupkg"