Skip to content
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

Honor AssemblyVersion as explicitly set in version.json #707

Merged
merged 1 commit into from Dec 28, 2021
Merged

Conversation

AArnott
Copy link
Collaborator

@AArnott AArnott commented Dec 28, 2021

Allow AssemblyVersion to be set explicitly without being altered by the rest of the computed build version

Breaking change: The assemblyVersion.precision property in the version.json file is now ignored if assemblyVersion.version is set to a non-null value. When set, assemblyVersion.version is taken literally.
Specifying assemblyVersion.precision alone will still set the assembly version based on the ordinary computed version as it did before.

The schema has been updated to reflect that specifying assemblyVersion.version and assemblyVersion.precision is an error.

Fixes #703

…he rest of the computed build version

**Breaking change**: The `assemblyVersion.precision` property in the `version.json` file is now ignored if `assemblyVersion.version` is set to a non-null value. When set, `assemblyVersion.version` is taken literally.
Specifying `assemblyVersion.precision` alone will still set the assembly version based on the ordinary computed `version` as it did before.

The schema has been updated to reflect that specifying `assemblyVersion.version` *and* `assemblyVersion.precision` is an error.

Fixes #703
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.

How do we specify a 3 segment Assembly Version (i.e. 0.4.1)?
1 participant