Skip to content

Created new configuration-option assembly-file-versioning-scheme: #1130

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 5 commits into from
May 14, 2017

Conversation

jensbrand
Copy link
Contributor

Created new configuration-option assembly-file-versioning-scheme: It has the same possible options as assembly-versioning-scheme and it is used for generating the AssamblyFileVersion just in the same matter as the AssemblyVersion.
Since the AssemblyVersion is used for referencing and AssemblyLoading and AssemblyFileVersion is just a representation of the version / build of the assembly, we can now configure both independent.
Default setting is MajorMinorPatch for both options.

This change is discussed in issue: #544

…has the same possible options as assembly-versioning-scheme and it is used for generating the AssamblyFileVersion just in the same matter as the AssemblyVersion.

Since the AssemblyVersion is used for referencing and AssemblyLoading and AssemblyFileVersion is just a representation of the version / build of the assembly, we can now configure both independent.
Default setting is MajorMinorPatch for both options.
@JakeGinnivan JakeGinnivan self-requested a review February 25, 2017 01:48
Copy link
Contributor

@JakeGinnivan JakeGinnivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, two small comments (changed comment to review comment)

  1. None of the tests actually verify MajorMinorPatchTag, could you change an existing test or just add a new one
  2. It would be great to replace the tabs with spaces to be consistent. We probably should have http://editorconfig.org/ configured to prevent this issue (feel free to add)

@jensbrand
Copy link
Contributor Author

I've done the requested changes. One additional test checks the configuration-option (ConfigProviderTests.CanUpdateAssemblyFileVersioningScheme()) and another test checks the result of the possible settings of AssemblyFileVersioningScheme (AssemblyFileVersionTests.ValidateAssemblyFileVersionBuilder()).

@JakeGinnivan JakeGinnivan merged commit b669e5f into GitTools:master May 14, 2017
@JakeGinnivan
Copy link
Contributor

All merged @jensbrand, thanks. Sorry it took so long

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants