Skip to content

Commit

Permalink
Merge pull request #447 from castleproject/build-handle-prerelease
Browse files Browse the repository at this point in the history
Handle prerelease version suffix in build scripts
  • Loading branch information
jonorossi authored Oct 26, 2018
2 parents 1519361 + fee8b82 commit 09751a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion buildscripts/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<BuildVersion>0.0.0</BuildVersion>
<BuildVersion Condition="'$(APPVEYOR_BUILD_VERSION)'!=''">$(APPVEYOR_BUILD_VERSION)</BuildVersion>
<BuildVersionMajor>$(BuildVersion.Split('.')[0])</BuildVersionMajor>
<BuildVersionNoSuffix>$(BuildVersion.Split('-')[0])</BuildVersionNoSuffix>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AssemblyOriginatorKeyFile>../../buildscripts/CastleKey.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
Expand All @@ -15,7 +16,7 @@

<PropertyGroup>
<Product>Castle Windsor</Product>
<FileVersion>$(BuildVersion)</FileVersion>
<FileVersion>$(BuildVersionNoSuffix)</FileVersion>
<VersionPrefix>$(BuildVersion)</VersionPrefix>
<AssemblyVersion>$(BuildVersionMajor).0.0</AssemblyVersion>
<AssemblyTitle>Castle Windsor is best of breed, mature Inversion of Control container available for .NET</AssemblyTitle>
Expand Down

0 comments on commit 09751a4

Please sign in to comment.