mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Updated the documentation for Visual Studio Build Packaging to use the correct format for version numbers.
This commit is contained in:
@@ -15,7 +15,7 @@ The first step is to define a build target in your `.csproj` file.
|
||||
<Output TaskParameter="Assemblies" ItemName="myAssemblyInfo"/>
|
||||
</GetAssemblyIdentity>
|
||||
<Exec Command="nuget pack MyApp.nuspec -Version %(myAssemblyInfo.Version) -Properties Configuration=Release -OutputDirectory $(OutDir) -BasePath $(OutDir)" />
|
||||
<Exec Command="squirrel --releasify $(OutDir)MyApp.%(myAssemblyInfo.Version).nupkg" />
|
||||
<Exec Command="squirrel --releasify $(OutDir)MyApp.$([System.Version]::Parse(%(myAssemblyInfo.Version)).ToString(3)).nupkg" />
|
||||
</Target>
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user