Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #56
What is the feature
The feature involves integrating GitVersion into the project to automate Semantic Versioning (SemVer) based on Git history.
Why we need the feature
Implementing GitVersion will streamline the versioning process by automatically generating version numbers based on the commit history. This ensures consistency and accuracy in versioning, which is crucial for release management and dependency tracking.
How to implement and why
Remove MSBuild.Version.Target Package:
Delete
Properties\\version.txt
Files:Create
GitVersion.yml
:GitVersion.yml
file at the root level withmode: Mainline
. This configuration will guide GitVersion to use the mainline development mode, which is suitable for projects with a continuous delivery workflow.Update
deploy.yml
:About backward compatibility
The transition to GitVersion will not maintain backward compatibility with the previous versioning system. However, this change is necessary to adopt a more robust and automated versioning strategy. The benefits of improved version management outweigh the need for backward compatibility in this context.
Test these changes locally