Skip to content

Commit

Permalink
Update Nuget.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
aspriddell authored Jul 12, 2020
1 parent 7a634aa commit dddbf84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Nuget.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ $WORKINGDIR = Get-Location

#Build files

Write-Output "Building Orbit Version $VERSION"
Write-Output "Building DragonFruit.Common Version $VERSION"
dotnet restore
dotnet build -c Release /p:PackageVersion=$VERSION

#pack into nuget files with the suffix if we have one

Write-Output "Publishing Orbit Version $VERSION"
dotnet pack ".\DragonFruit.Orbit.API\DragonFruit.Orbit.API.csproj" -o $WORKINGDIR -c Release -p:PackageVersion=$VERSION
Write-Output "Publishing DragonFruit.Common Version $VERSION"
dotnet pack ".\DragonFruit.Common.Data\DragonFruit.Common.Data.csproj" -o $WORKINGDIR -c Release -p:PackageVersion=$VERSION

#recursively push all nuget files created

Expand Down

0 comments on commit dddbf84

Please sign in to comment.