Skip to content

Commit

Permalink
Added script to help building the nuget package.
Browse files Browse the repository at this point in the history
  • Loading branch information
ohadApiiro committed Nov 23, 2021
1 parent a070b65 commit 7b025fc
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions make-nuget.sh
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

0 comments on commit 7b025fc

Please sign in to comment.