Commit ce444a5
Integrate MinVer for Git-based versioning
Add MinVer 6.0.0 package for automatic version calculation from Git tags:
- MinVer automatically determines version from Git tags (e.g., v6.1.0)
- Generates proper semantic versions with pre-release identifiers
- Integrates with build height for automatic patch increments
- VersionPrefix (6.1.0) serves as fallback when no tags exist
- MinVerTagPrefix set to 'v' to match conventional tag format
Benefits:
- Eliminates manual version updates in project files
- Automatic versioning in CI/CD pipelines
- Proper pre-release versioning for feature branches
- Consistent with deterministic builds
Microsoft.SourceLink.GitHub is already at latest version 8.0.0.
Version calculation examples:
- On tag v6.1.0: produces version 6.1.0
- After tag: produces version 6.1.1-alpha.0.{height}
- On branch: includes branch name in pre-release identifier1 parent c066306 commit ce444a5
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
0 commit comments