diff --git a/.gitignore b/.gitignore index 977afb3cb6b..678ae179fb6 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ TestResult.xml .idea/ .vs/ /build-common/NHibernate.dev.props +/doc/reference/master.xml diff --git a/ReleaseProcedure.txt b/ReleaseProcedure.txt index 82ebcc510db..994d3d66f2c 100644 --- a/ReleaseProcedure.txt +++ b/ReleaseProcedure.txt @@ -25,9 +25,8 @@ Tools\gitreleasemanager\0.7.0\tools\GitReleaseManager.exe create -o nhibernate - If the release tag does not match the released version with major.minor.release formalism, the NuGet package will have an invalid link to release notes. - * Check/update version number in common.xml and NHibernate.props under - build-common folder, in master.xml under doc\reference folder, and in - appveyor.yml in the NHibernate root. + * Check/update version number in NHibernate.props under build-common folder. + Clear VersionSuffix if present. * Don't forget to commit the above. @@ -55,3 +54,10 @@ Tools\gitreleasemanager\0.7.0\tools\GitReleaseManager.exe create -o nhibernate - * If this was a stable branch, merge it forward to master. Perhaps some changes need to be edited out in the merge, but this will reduce the risk of some issue being left unfixed on master. + + * If this was the master branch, create the stable branch for the new release, named + according to its version with "x" instead of its patch number. By example, "5.3.x". + + * If next version is decided set it in NHibernate.props under build-common folder + (in most cases - increment minor version) and set VersionSuffix to "dev". + Commit it directly (without going through a PR). diff --git a/appveyor.yml b/appveyor.yml index 16e62c4e3be..771cd069dbc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 5.2.7.{build} +version: '{build}' image: Visual Studio 2017 environment: matrix: diff --git a/build-common/NHibernate.props b/build-common/NHibernate.props index e8b47ec9e69..38203a38b82 100644 --- a/build-common/NHibernate.props +++ b/build-common/NHibernate.props @@ -2,14 +2,16 @@ - 5 - 2 - 7 - + 5.3 + 0 + + dev - $(VersionMajor).$(VersionMinor).$(VersionPatch) - $(VersionMajor).$(VersionMinor).0.0 - $(VersionPrefix).0 + $(NhVersion).$(VersionPatch) + $(VersionSuffix).$(BuildNumber) + $(NhVersion).0.0 + $(VersionPrefix).$(BuildNumber) + $(VersionPrefix).0 net461;netcoreapp2.0 net461;netcoreapp2.0;netstandard2.0 @@ -27,7 +29,8 @@ https://raw.githubusercontent.com/nhibernate/nhibernate-core/master/logo/NHibernate-NuGet.png false LGPL-2.1-only - https://github.com/nhibernate/nhibernate-core/blob/$(VersionPrefix)/releasenotes.txt + https://github.com/nhibernate/nhibernate-core/blob/$(VersionPrefix)/releasenotes.txt + This is development version for testing purposes only true true snupkg diff --git a/build-common/common.xml b/build-common/common.xml index 21ad81ae444..43af878ff95 100644 --- a/build-common/common.xml +++ b/build-common/common.xml @@ -11,15 +11,31 @@ - - - - + + + + + + + + + + + - + diff --git a/default.build b/default.build index a65ecd04d78..01c9b8f4a65 100644 --- a/default.build +++ b/default.build @@ -2,7 +2,7 @@ @@ -29,6 +29,7 @@ + @@ -39,6 +40,8 @@ + + diff --git a/doc/NHibernate.shfbproj.template b/doc/NHibernate.shfbproj.template index 3e8e83d2363..de6d308eba5 100644 --- a/doc/NHibernate.shfbproj.template +++ b/doc/NHibernate.shfbproj.template @@ -18,12 +18,12 @@ NHibernateAPI HtmlHelp1x NHibernate - nhibernate.info - http://groups.google.com/group/nhibernate-development + https://nhibernate.info + https://groups.google.com/group/nhibernate-development nhibernate team NHibernate API Reference False - ${project.version.numeric} + ${project.version} diff --git a/doc/reference/master.xml b/doc/reference/master.template.xml similarity index 98% rename from doc/reference/master.xml rename to doc/reference/master.template.xml index 25d73df2047..23df7a16535 100644 --- a/doc/reference/master.xml +++ b/doc/reference/master.template.xml @@ -39,7 +39,7 @@ NHibernate - Relational Persistence for Idiomatic .NET NHibernate Reference Documentation - 5.2 + diff --git a/doc/reference/reference.build b/doc/reference/reference.build index 9a07ff295bb..2a4c52aa851 100644 --- a/doc/reference/reference.build +++ b/doc/reference/reference.build @@ -8,7 +8,7 @@ - +