Skip to content

Commit

Permalink
Publishes self contained executables
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisrichards committed Oct 23, 2023
1 parent 3faea3f commit bd9de97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ exec { & dotnet restore }
$revision = @{ $true = $env:APPVEYOR_BUILD_NUMBER; $false = 1 }[$env:APPVEYOR_BUILD_NUMBER -ne $NULL];
$revision = "{0:D}" -f [convert]::ToInt32($revision, 10)

exec { & dotnet publish -c Release -r win10-x64 -o .\artifacts/win10-x64 --version-suffix=$revision }
exec { & dotnet publish -c Release -r osx.10.12-x64 -o .\artifacts/osx.10.12-x64 --version-suffix=$revision }
exec { & dotnet publish -c Release -r ubuntu.14.04-x64 -o .\artifacts/ubuntu.14.04-x64 --version-suffix=$revision }
exec { & dotnet publish -c Release -r win10-x64 --self-contained -o .\artifacts/win10-x64 --version-suffix=$revision dbf.csproj }
exec { & dotnet publish -c Release -r osx.10.12-x64 --self-contained -o .\artifacts/osx.10.12-x64 --version-suffix=$revision dbf.csproj }
exec { & dotnet publish -c Release -r ubuntu.14.04-x64 --self-contained -o .\artifacts/ubuntu.14.04-x64 --version-suffix=$revision dbf.csproj }

0 comments on commit bd9de97

Please sign in to comment.