MudBlazor / MudBlazor

Blazor Component Library based on Material design with an emphasis on ease of use. Mainly written in C# with Javascript kept to a bare minimum it empowers .NET developers to easily debug it if needed.
http://mudblazor.com
MIT License
7.39k stars 1.19k forks source link

Build: Fix invalid version string in assembly info for dotnet pack #8968

Closed mikes-gh closed 4 weeks ago

mikes-gh commented 4 weeks ago

Description

AssemblyVersion and Version strings in assemblyinfo must be of the form a.b.c.d We remove -preview from the version string before packing to avoid a build fail.

How Has This Been Tested?

Using my repo to test. Publish fails due to security but you can see the successful build and pack. https://github.com/mikes-gh/MudBlazor/actions/runs/9078804072/job/24946625714#step:5:1

Type of Changes

Checklist

henon commented 4 weeks ago

Thanks Mike!