mirror of https://github.com/abpframework/abp
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							17 lines
						
					
					
						
							496 B
						
					
					
				
			
		
		
	
	
							17 lines
						
					
					
						
							496 B
						
					
					
				. ".\common.ps1"
 | 
						|
 | 
						|
$apiKey = $args[0]
 | 
						|
 | 
						|
# Get the version
 | 
						|
[xml]$commonPropsXml = Get-Content (Join-Path $rootFolder "common.props")
 | 
						|
$version = $commonPropsXml.Project.PropertyGroup.Version
 | 
						|
 | 
						|
# Publish all packages
 | 
						|
foreach($project in $projects) {
 | 
						|
    $projectName = $project.Substring($project.LastIndexOf("/") + 1)
 | 
						|
    & dotnet nuget push ($projectName + "." + $version + ".nupkg") -s https://api.nuget.org/v3/index.json --api-key "$apiKey"
 | 
						|
}
 | 
						|
 | 
						|
# Go back to the pack folder
 | 
						|
Set-Location $packFolder
 |