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.
		
		
		
		
		
			
		
			
				
					
					
						
							25 lines
						
					
					
						
							518 B
						
					
					
				
			
		
		
	
	
							25 lines
						
					
					
						
							518 B
						
					
					
				#!/bin/bash
 | 
						|
set -eE
 | 
						|
. ./common.sh
 | 
						|
 | 
						|
# Rebuild all solutions
 | 
						|
for solution in "${solutions[@]}"
 | 
						|
do
 | 
						|
    solutionFolder="$rootFolder/$solution"
 | 
						|
    cd "$solutionFolder" \
 | 
						|
    && dotnet restore
 | 
						|
done
 | 
						|
 | 
						|
# Create all packages
 | 
						|
for project in "${projects[@]}"
 | 
						|
do
 | 
						|
    projectFolder="$rootFolder/$project"
 | 
						|
 | 
						|
    # Create nuget pack
 | 
						|
    cd "$projectFolder"
 | 
						|
    rm -rf "$projectFolder/bin/Release" \
 | 
						|
    & dotnet pack --no-restore -c Release -p:SourceLinkCreate=true -o "$packFolder"
 | 
						|
done
 | 
						|
 | 
						|
# Go back to the pack folder
 | 
						|
cd "$packFolder" |