mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
move to using docs directory
This commit is contained in:
25
docs/using/octopack.md
Normal file
25
docs/using/octopack.md
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
# More Packaging
|
||||
|
||||
# Using OctoPack
|
||||
|
||||
In order to automatically construct your nuget packages you can use [OctoPack](https://github.com/OctopusDeploy/OctoPack). Octopack allows you to specify a .nuspec file which will be used to specify how your .nupkg should be created.
|
||||
|
||||
Follow the core instructions for creating your .nuspec file on the [OctoPack](https://github.com/OctopusDeploy/OctoPack) page.
|
||||
|
||||
You'll then need to add a files specification to match Squirrel's expected .nupkg structure:
|
||||
|
||||
~~~
|
||||
<files>
|
||||
<file src="bin\Release\*.*" target="lib\net45\" exclude="bin\release\*.pdb;bin\release\*.nupkg;bin\release\*.vshost.*"/>
|
||||
</files>
|
||||
~~~
|
||||
|
||||
If you're building using Visual Studio, you will also need to edit your .csproj file to include a property group.
|
||||
~~~
|
||||
<PropertyGroup>
|
||||
<RunOctoPack>true</RunOctoPack>
|
||||
</PropertyGroup>
|
||||
~~~
|
||||
|
||||
If you're using a build server, see OctoPack's guides on how to trigger it to be run.
|
||||
Reference in New Issue
Block a user