Skip to content

Commit

Permalink
5.0.3 (#1222)
Browse files Browse the repository at this point in the history
* 2024-01-15 EoD

* 2024-01-21 BoD

* 2024-01-21 EoD

* 2023-01-24 Compute SHA512 in WiP

* Add quotes around filename for certutil

* Remove redundant redirection in filename

* Added SHA hash computation to Release

* Compute SHA hash

* 2024-01-24 EoD

* 2024-01-26 EoD

* Prior to attempting revert of bad commit on main

* 2024-01-30 EoD - Menu 90%

* 2024-01-31 Menu completed; Prior to website conversion to MW3 menu

* 2024-02-01 MoD; Menu complete, MD2 menu, topappbar, and listitems removed

* Commit JS deletion in M.B.MD3

* 2024-02-01 EoD

* 2024-02-10 EoD

* 2024-02-10 Markdown styling

* 5.0.3
  • Loading branch information
MarkStega authored Feb 13, 2024
1 parent c450245 commit a273f0e
Show file tree
Hide file tree
Showing 81 changed files with 1,728 additions and 1,832 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/GithubActionsRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ env:
projectTest: 'Material.Blazor.Test/Material.Blazor.Test.csproj'
projectWeb: 'Material.Blazor.Website.WebAssembly/Material.Blazor.Website.WebAssembly.csproj'

materialBlazorMD3LibModule: 'Material.Blazor.MD3/wwwroot/Material.Blazor.MD3.lib.module.js'
outputDocFxMD3: ${{github.workspace}}\siteDocFxMD3
outputMBMD3: ${{github.workspace}}\siteMBMD3
outputWebMD3: ${{github.workspace}}\siteWebMD3
Expand Down Expand Up @@ -404,3 +405,8 @@ jobs:
-k ${{secrets.NUGET_API_KEY}}
-s https://api.nuget.org/v3/index.json
- name: Compute the SHA256 hash of material.blazor.md3.lib.module.js
shell: pwsh
run: |
.\computesha.ps1 ${{env.materialBlazorMD3LibModule}}
5 changes: 5 additions & 0 deletions .github/workflows/GithubActionsWIP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ env:
projectTest: 'Material.Blazor.Test/Material.Blazor.Test.csproj'
projectWeb: 'Material.Blazor.Website.WebAssembly/Material.Blazor.Website.WebAssembly.csproj'

materialBlazorMD3LibModule: 'Material.Blazor.MD3/wwwroot/Material.Blazor.MD3.lib.module.js'
outputDocFxMD3: ${{github.workspace}}\siteDocFxMD3
outputMBMD3: ${{github.workspace}}/siteMBMD3
outputWebMD3: ${{github.workspace}}/siteWebMD3
Expand Down Expand Up @@ -546,6 +547,10 @@ jobs:
- name: Display MaterialBlazor package output Ꙫ
run: dir ${{env.outputMBMD3}}

- name: Compute the SHA256 hash of material.blazor.md3.lib.module.js
shell: pwsh
run: |
.\computesha.ps1 ${{env.materialBlazorMD3LibModule}}
############################################################################################################
# deployghpages-mbcurrent
Expand Down
11 changes: 8 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
## Ignore temporary files and build results specific to M.B

#Generated CSS and JS files
**/Material.Blazor/wwwroot/*.*
**/Material.Blazor.MD3/wwwroot/*.*
**/Material.Blazor/wwwroot/*.css
**/Material.Blazor/wwwroot/*.js
**/Material.Blazor.MD3/wwwroot/*.css
**/Material.Blazor.MD3/wwwroot/*.js
# TEMPORARY ADDITION UNTIL A SUITABLE TSC COMMAND IS FOUND TO PRODUCE THIS JS
!**/Material.Blazor.MD3/wwwroot/Material.Blazor.MD3.lib.module.js
**/Material.Blazor.Website/wwwroot/css/*.*
**/Material.Blazor.Website/wwwroot/js/*.*
**/Material.Blazor.Website.MD3/wwwroot/css/*.*
# TEMPORARY REMOVAL WHILE PUBLISH DELETES STATIC ASSETS **/Material.Blazor.Website.MD3/wwwroot/js/*.*
# TEMPORARY REMOVAL WHILE PUBLISH DELETES STATIC ASSETS
# **/Material.Blazor.Website.MD3/wwwroot/js/*.*

# Generated by DocFx build
/docfx.json
Expand Down
10 changes: 10 additions & 0 deletions ComputeSHA.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
param(
[Parameter(Mandatory=$True,
ValueFromPipeline=$True)]
$filePath
)

$hasher = [System.Security.Cryptography.SHA256]::Create()
$content = Get-Content -Path $filePath -AsByteStream -Raw
$hash = [System.Convert]::ToBase64String($hasher.ComputeHash($content))
Write-Output ($filePath.ToString() + ": " + $hash)
2 changes: 1 addition & 1 deletion LocalBuild.cmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@echo off
set argVersion=%1
if "%1" == "" set argVersion=5.0.6
if "%1" == "" set argVersion=5.0.104
set argDestination=%2
if "%2" == "" set argDestination="c:\solutions\local nuget packages"

Expand Down
20 changes: 0 additions & 20 deletions Material.Blazor.MD3/Components.MD2/Drawer/MBDrawer.razor

This file was deleted.

93 changes: 0 additions & 93 deletions Material.Blazor.MD3/Components.MD2/Drawer/MBDrawer.razor.cs

This file was deleted.

16 changes: 0 additions & 16 deletions Material.Blazor.MD3/Components.MD2/Drawer/MBDrawer.ts

This file was deleted.

This file was deleted.

This file was deleted.

55 changes: 0 additions & 55 deletions Material.Blazor.MD3/Components.MD2/ListItem/MBListItem.razor

This file was deleted.

45 changes: 0 additions & 45 deletions Material.Blazor.MD3/Components.MD2/ListItem/MBListItem.razor.cs

This file was deleted.

20 changes: 0 additions & 20 deletions Material.Blazor.MD3/Components.MD2/Menu/MBMenu.razor

This file was deleted.

Loading

0 comments on commit a273f0e

Please sign in to comment.