Skip to content

Commit 7b025fc

Browse files
committed
Added script to help building the nuget package.
1 parent a070b65 commit 7b025fc

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

make-nuget.sh

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/bin/bash
2+
3+
# NOTE:
4+
# Until we'll set the version as an argument make sure to change the version in the 'nuget push' lines to matach the version in binaries.
5+
6+
WORK_DIR=`pwd`
7+
8+
pushd ./src/LanguageServer/Impl
9+
dotnet pack --configuration Release
10+
dotnet nuget push $WORK_DIR/output/bin/Release/Microsoft.Python.LanguageServer.1.0.2.nupkg --source "github" --skip-duplicate --no-symbols true
11+
popd
12+
13+
pushd ./src/Analysis/Ast/Impl
14+
dotnet pack --configuration Release
15+
dotnet nuget push $WORK_DIR/output/bin/Release/Microsoft.Python.Analysis.1.0.2.nupkg --source "github" --skip-duplicate --no-symbols true
16+
popd
17+
18+
pushd ./src/Analysis/Core/Impl
19+
dotnet pack --configuration Release
20+
dotnet nuget push $WORK_DIR/output/bin/Release/Microsoft.Python.Analysis.Core.1.0.2.nupkg --source "github" --skip-duplicate --no-symbols true
21+
popd
22+
23+
pushd ./src/Parsing/Impl
24+
dotnet pack --configuration Release
25+
dotnet nuget push $WORK_DIR/output/bin/Release/Microsoft.Python.Parsing.1.0.2.nupkg --source "github" --skip-duplicate --no-symbols true
26+
popd
27+
28+
pushd ./src/Core/Impl
29+
dotnet pack --configuration Release
30+
dotnet nuget push $WORK_DIR/output/bin/Release/Microsoft.Python.Core.1.0.2.nupkg --source "github" --skip-duplicate --no-symbols true
31+
popd
32+

0 commit comments

Comments
 (0)