Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
1
Description
๐งต Story
The SDK is currently given its version in the assembly through the <CouchbaseNetClientReleasedVersion> property in Directory.Build.Props, which has to be modified manually before each release.
๐ ๏ธ Acceptance Criteria
The goal is to automate this, either by providing the property at build time in the appropriate CI jobs or with a tool such as GitVersion.
e.g.
dotnet build [...] --property:CouchbaseNetClientReleasedVersion=3.5.3
๐ Resources
- git describe --tags --abbrev=0 - Outputs the most recent tag
- GitVersion - NuGet package utility for Git versioning
ย