forked from microsoft/Recognizers-Text
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-pack.sh
18 lines (13 loc) · 1.7 KB
/
test-pack.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
nugetExe=$1
version=$2
echo "Version: $version"
targetDir="./test-pack"
config="release;basic=$version;number=$version;numberWithUnit=$version"
$nugetExe pack ./Microsoft.Recognizers.Text/Microsoft.Recognizers.Text.nuspec -NonInteractive -OutputDirectory $targetDir -Properties Configuration=$config -Symbols -version "$version" -Verbosity Detailed
$nugetExe pack ./Microsoft.Recognizers.Text.Choice/Microsoft.Recognizers.Text.Choice.nuspec -NonInteractive -OutputDirectory $targetDir -Properties Configuration=$config -Symbols -version "$version" -Verbosity Detailed
$nugetExe pack ./Microsoft.Recognizers.Text.Sequence/Microsoft.Recognizers.Text.Sequence.nuspec -NonInteractive -OutputDirectory $targetDir -Properties Configuration=$config -Symbols -version "$version" -Verbosity Detailed
$nugetExe pack ./Microsoft.Recognizers.Text.Number/Microsoft.Recognizers.Text.Number.nuspec -NonInteractive -OutputDirectory $targetDir -Properties Configuration=$config -Symbols -version "$version" -Verbosity Detailed
$nugetExe pack ./Microsoft.Recognizers.Text.NumberWithUnit/Microsoft.Recognizers.Text.NumberWithUnit.nuspec -NonInteractive -OutputDirectory $targetDir -Properties Configuration=$config -Symbols -version "$version" -Verbosity Detailed
$nugetExe pack ./Microsoft.Recognizers.Text.DateTime/Microsoft.Recognizers.Text.DateTime.nuspec -NonInteractive -OutputDirectory $targetDir -Properties Configuration=$config -Symbols -version "$version" -Verbosity Detailed
$nugetExe pack ./Microsoft.Recognizers.Text.DataTypes.TimexExpression/Microsoft.Recognizers.Text.DataTypes.TimexExpression.nuspec -NonInteractive -OutputDirectory $targetDir -Properties Configuration=$config -Symbols -version "$version" -Verbosity Detailed