forked from microsoft/python-language-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmake-nuget.sh
executable file
·32 lines (24 loc) · 1.19 KB
/
make-nuget.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
31
#!/bin/bash
# NOTE:
# Until we'll set the version as an argument make sure to change the version in the 'nuget push' lines to match the version in binaries.
WORK_DIR=`pwd`
pushd ./src/LanguageServer/Impl
dotnet pack --configuration Release
dotnet nuget push $WORK_DIR/output/bin/Release/Microsoft.Python.LanguageServer.1.0.3.nupkg --source "github" --skip-duplicate --no-symbols true
popd
pushd ./src/Analysis/Ast/Impl
dotnet pack --configuration Release
dotnet nuget push $WORK_DIR/output/bin/Release/Microsoft.Python.Analysis.1.0.3.nupkg --source "github" --skip-duplicate --no-symbols true
popd
pushd ./src/Analysis/Core/Impl
dotnet pack --configuration Release
dotnet nuget push $WORK_DIR/output/bin/Release/Microsoft.Python.Analysis.Core.1.0.3.nupkg --source "github" --skip-duplicate --no-symbols true
popd
pushd ./src/Parsing/Impl
dotnet pack --configuration Release
dotnet nuget push $WORK_DIR/output/bin/Release/Microsoft.Python.Parsing.1.0.3.nupkg --source "github" --skip-duplicate --no-symbols true
popd
pushd ./src/Core/Impl
dotnet pack --configuration Release
dotnet nuget push $WORK_DIR/output/bin/Release/Microsoft.Python.Core.1.0.3.nupkg --source "github" --skip-duplicate --no-symbols true
popd