Skip to content

Commit e4d3d77

Browse files
committed
nuget script
1 parent 2de5924 commit e4d3d77

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

dotnet/nuget-pack.sh

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#!/bin/sh
22
echo "Building and testing..."
3-
. ./test.sh
3+
dotnet test -c Release Serpent/Tests
44

5-
echo "Creating nuget release package..."
6-
dotnet pack -c Release Serpent
5+
echo "\n\nCreating nuget release package..."
6+
dotnet pack -c Release -o $(pwd)/dist Serpent
7+
8+
echo "\n\nPackage available in dist/ directory:"
9+
ls -l dist
10+
11+
echo "\nIf this is allright, publish to nuget.org with:"
12+
echo "dotnet nuget push dist/Razorvine.Serpent.xxxxx.nupkg -s https://www.nuget.org -k api_key_from_nuget_org"

0 commit comments

Comments
 (0)