forked from PiranhaCMS/piranha.core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pack.sh
executable file
·30 lines (26 loc) · 1.39 KB
/
pack.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env bash
# Define directories
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
OUTPUT_DIR=$SCRIPT_DIR/artifacts
# Clean and build in release
dotnet clean
dotnet build -c Release
# Make sure output folder exist.
if [ ! -d "$OUTPUT_DIR" ]; then
mkdir "$OUTPUT_DIR"
fi
# Create all NuGet packages
nuget pack nuspec/Piranha.AspNetCore.Identity.nuspec -OutputDirectory $OUTPUT_DIR
nuget pack nuspec/Piranha.AspNetCore.Identity.SQLite.nuspec -OutputDirectory $OUTPUT_DIR
nuget pack nuspec/Piranha.AspNetCore.Identity.SQLServer.nuspec -OutputDirectory $OUTPUT_DIR
nuget pack nuspec/Piranha.AspNetCore.nuspec -OutputDirectory $OUTPUT_DIR
nuget pack nuspec/Piranha.AspNetCore.SimpleSecurity.nuspec -OutputDirectory $OUTPUT_DIR
nuget pack nuspec/Piranha.AttributeBuilder.nuspec -OutputDirectory $OUTPUT_DIR
nuget pack nuspec/Piranha.Azure.BlobStorage.nuspec -OutputDirectory $OUTPUT_DIR
nuget pack nuspec/Piranha.Data.EF.nuspec -OutputDirectory $OUTPUT_DIR
nuget pack nuspec/Piranha.Extensions.Sync.nuspec -OutputDirectory $OUTPUT_DIR
nuget pack nuspec/Piranha.ImageSharp.nuspec -OutputDirectory $OUTPUT_DIR
nuget pack nuspec/Piranha.Local.FileStorage.nuspec -OutputDirectory $OUTPUT_DIR
nuget pack nuspec/Piranha.Manager.nuspec -OutputDirectory $OUTPUT_DIR
nuget pack nuspec/Piranha.Manager.Localization.nuspec -OutputDirectory $OUTPUT_DIR
nuget pack nuspec/Piranha.nuspec -OutputDirectory $OUTPUT_DIR