Skip to content

Instantly share code, notes, and snippets.

@andrewabest
Created April 21, 2020 05:40
Show Gist options
  • Save andrewabest/9760eb9910958ed07a5c474da554587b to your computer and use it in GitHub Desktop.
Save andrewabest/9760eb9910958ed07a5c474da554587b to your computer and use it in GitHub Desktop.
Creates and packages a dotnet web app for deployment testing via Octopus
dotnet new mvc --auth None -f netcoreapp3.1
dotnet build
dotnet publish
octo pack --Id=MyApp.Test --format=Zip --Version=1.0.0 --basePath=./bin/Debug/netcoreapp3.1/publish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment