Skip to content

Commit

Permalink
Updated deploy.sh *again*.
Browse files Browse the repository at this point in the history
  • Loading branch information
zedseven committed Oct 19, 2020
1 parent b62eeaa commit 9282928
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ PackagesSource=$4

cd Romanization

echo "Downloading the latest nuget.exe..."
curl https://dist.nuget.org/win-x86-commandline/latest/nuget.exe --output ./nuget.exe -s
chmod +x ./nuget.exe
#echo "Downloading the latest nuget.exe..."
#curl https://dist.nuget.org/win-x86-commandline/latest/nuget.exe --output ./nuget.exe -s
#chmod +x ./nuget.exe

echo "Packing built library..."
./nuget.exe pack ./Romanization.csproj -Prop Configuration=Release -Verbosity detailed
dotnet pack ./Romanization.csproj --configuration Release --verbosity detailed

echo "Pushing packed package to Nuget..."
./nuget.exe push ./Romanization.NET.*.nupkg -Verbosity detailed -ApiKey "$NugetApiKey" -Source "$NugetSource"
dotnet nuget push ./Romanization.NET.*.nupkg --api-key "$NugetApiKey" --source "$NugetSource"
echo "Pushing packed package to GitHub Packages..."
./nuget.exe push ./Romanization.NET.*.nupkg -Verbosity detailed -ApiKey "$PackagesApiKey" -Source "$PackagesSource"
dotnet nuget push ./Romanization.NET.*.nupkg --api-key "$PackagesApiKey" --source "$PackagesSource"

echo "Done!"

0 comments on commit 9282928

Please sign in to comment.