-
Notifications
You must be signed in to change notification settings - Fork 401
Added nuspec generation for nanoFramework UnitsNet #930
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
Added nuspec generation for nanoFramework UnitsNet #930
Conversation
Just realized I didn't catchup my branch of the main repo before creating my branch. WOrking on that now. |
Perfect. What's missing before merging this is how to do versioning. GitVersion has been mentioned. I briefly looked it up. Is that something you could help set up if you've done it before? One thing that might pose a challenge is that nugets are versioned separately in these groups:
|
Sorry I've never setup GitVersion before. I hardcoded the version number for now to buy us some time. |
@rschiefer Thanks a lot. Nugets 4.92 are now out. |
Thats great, thanks! |
@angularsen I'm not seeing the unitsnet.nanoframework.power nuget package. This was one of the decimal conversions so it wasn't previously available. Anything special we need to do to get it up to nuget? |
@rschiefer Yes the published nugets are hand-picked for now. We didn't want to barf all 100+ packages out unless there was demand for them. |
ok, i'll update with the missing units we need. thx |
Added code to automatically generate the nuspec file for UnitsNet.nanoFramework units. Used placeholder ($version$ ) for version number in nuspec so will probably need to pass that in the build pipeline (unless thats a builtin variable, not sure). nanoFramework.IoT.Device generates their nuget packages in the same way.