Last active
September 12, 2017 09:30
-
-
Save jonny64bit/747fd97cf3a4f4ff08956b60da8e1231 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param([string]$version) | |
function Push-Package | |
{ | |
param([string]$location, [string]$projectName, [string]$nugetServer, [string]$apiKey, [string]$packageName=$projectName) | |
Set-Location -Path $location | |
nuget pack "$($projectName).csproj" | |
nuget push "$($packageName).$($version).nupkg" -s $nugetServer $apiKey | |
} | |
Push-Package "C:...d" "..." ".." "..." "optional..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment