forked from microsoft/python-language-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added script to help building the nuget package.
- Loading branch information
1 parent
a070b65
commit 7b025fc
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/bash | ||
|
||
# NOTE: | ||
# 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. | ||
|
||
WORK_DIR=`pwd` | ||
|
||
pushd ./src/LanguageServer/Impl | ||
dotnet pack --configuration Release | ||
dotnet nuget push $WORK_DIR/output/bin/Release/Microsoft.Python.LanguageServer.1.0.2.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.2.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.2.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.2.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.2.nupkg --source "github" --skip-duplicate --no-symbols true | ||
popd | ||
|