-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
How to treat one lib in multi-lib repo differently (always marked as preview)? #1004
Comments
The best way you can do it today is to add a {
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json",
"version": "1.26-preview",
"inherit": "true"
} The inherit part keeps you from having to double up on everything. You'll still have to double up on the version number, unfortunately. But having the unique copy of the |
I'm currently managing versions by doing |
Yes, you'd have to edit that one manually. |
Ok. Just so I understand correctly, if I run Or so I need to override other properties too? |
Just the additional version.json file should do it. But it needs to be committed before you'll see the full effect, as normal for such a file. |
I have a repository that includes multiple libraries. One of the libraries is experimental, so when I do a
dotnet pack
, I want its version to retain thepreview
version suffix as with unstable releases, even if the rest of the libraries does not have this.This is my current version.json:
The project I want to always be marked as experimental/preview is this: https://github.com/bUnit-dev/bUnit/blob/main/src/bunit.web.query/bunit.web.query.csproj
The text was updated successfully, but these errors were encountered: