-
Notifications
You must be signed in to change notification settings - Fork 934
NH-3927 - Switch to SemVer version generation #674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
hazzik
commented
Aug 15, 2017
- SharedAssemblyInfo.?? are retired
48a2b27
to
98d148a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good direction. I think it could be improved some.
@@ -1,24 +1,17 @@ | |||
<Project Sdk="Microsoft.NET.Sdk"> | |||
<Import Project="../../build-common/NHibernate.props" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move the Description from the AssemblyInfo.cs like the rest of the projects.
@@ -1,24 +1,17 @@ | |||
<Project Sdk="Microsoft.NET.Sdk"> | |||
<Import Project="../../build-common/NHibernate.props" /> | |||
|
|||
<PropertyGroup> | |||
<TargetFramework>net461</TargetFramework> | |||
<OutputType>Exe</OutputType> | |||
<StartupObject>NHibernate.Tool.HbmXsd.Program</StartupObject> | |||
<GenerateAssemblyTitleAttribute>False</GenerateAssemblyTitleAttribute> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove these AssemblyInfo generation blockers like the rest of the projects.
build-common/NHibernate.props
Outdated
<VersionMajor Condition="'$(VersionMajor)' == ''">5</VersionMajor> | ||
<VersionMinor Condition="'$(VersionMinor)' == ''">0</VersionMinor> | ||
<VersionPatch Condition="'$(VersionPatch)' == ''">0</VersionPatch> | ||
<VersionSuffix>Alpha1</VersionSuffix> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be <VersionSuffix Condition="'$(VersionSuffix)' == ''">Alpha1</VersionSuffix>
so it can be overwritten at build time.
Is using the Team City build number in scope for this issue? Versioning per-build, or at least per pull-request, so that when building the release packages per pull request the resulting NuGet package versions from the TeamCity CI are separated out and usable. The logical branch name is available as |
Not yet. |
- SharedAssemblyInfo.?? are retired
@ngbrown did not know you have approval rights:) thanks |
I just wanted to acknowledge that you made the changes I suggested. I don't really have rejection/approval rights. That's why my check mark is grayed out. Edit: I guess it actually depends on if you have "Require review from Code Owners" checked. |
I just didn't know that it's possible:) |