Skip to content

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

Merged
merged 1 commit into from
Aug 18, 2017

Conversation

hazzik
Copy link
Member

@hazzik hazzik commented Aug 15, 2017

  • SharedAssemblyInfo.?? are retired

Copy link
Contributor

@ngbrown ngbrown left a 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" />
Copy link
Contributor

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>
Copy link
Contributor

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.

<VersionMajor Condition="'$(VersionMajor)' == ''">5</VersionMajor>
<VersionMinor Condition="'$(VersionMinor)' == ''">0</VersionMinor>
<VersionPatch Condition="'$(VersionPatch)' == ''">0</VersionPatch>
<VersionSuffix>Alpha1</VersionSuffix>
Copy link
Contributor

@ngbrown ngbrown Aug 17, 2017

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.

@ngbrown
Copy link
Contributor

ngbrown commented Aug 17, 2017

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 teamcity.build.branch.

@hazzik
Copy link
Member Author

hazzik commented Aug 17, 2017

Is using the Team City build number in scope for this issue?

Not yet.

- SharedAssemblyInfo.?? are retired
@hazzik
Copy link
Member Author

hazzik commented Aug 18, 2017

@ngbrown did not know you have approval rights:) thanks

@ngbrown
Copy link
Contributor

ngbrown commented Aug 18, 2017

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.

@hazzik hazzik merged commit 6d55031 into nhibernate:master Aug 18, 2017
@hazzik
Copy link
Member Author

hazzik commented Aug 18, 2017

I just didn't know that it's possible:)

@hazzik hazzik deleted the NH-3927 branch August 18, 2017 06:28
@fredericDelaporte fredericDelaporte added this to the 5.0 milestone Sep 7, 2017
@fredericDelaporte fredericDelaporte mentioned this pull request Sep 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants