mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-06-20 10:48:15 +08:00
perf: ⚡ package update
[skip ci]
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
|
||||
$branch = $( git branch --show-current )
|
||||
git add ../
|
||||
$skipFormat = Read-Host "输入 n 跳过代码整理"
|
||||
|
@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
|
||||
cd ..
|
||||
$types = @{
|
||||
'1' = @('major', '主版本')
|
||||
|
@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
|
||||
$branch = $( git branch --show-current )
|
||||
git checkout main
|
||||
git pull
|
||||
|
@ -1,2 +1,4 @@
|
||||
#!/usr/bin/env pwsh
|
||||
|
||||
git push origin :refs/tags/$(git tag -l "*-*")
|
||||
git tag -d $(git tag -l "*-*")
|
@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
|
||||
git submodule update --progress --init --recursive --force --remote -- "../refs/Gurion"
|
||||
git submodule update --progress --init --recursive --force --remote -- "../refs/NetAdmin.FreeSql"
|
||||
git submodule update --progress --init --recursive --force --remote -- "../refs/ns-ext"
|
@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env pwsh
|
||||
|
||||
npm --prefix ../src/frontend/admin run prettier
|
||||
jb cleanupcode --no-build --include=$($(git status --porcelain | Where-Object { $_ -match "^\s*[MA]" } | ForEach-Object { $_.TrimStart(" M").TrimStart(" A") }) -join ";") ../NetAdmin.sln
|
||||
dot rbom -w -e refs -e .git -e node_modules ../
|
||||
|
@ -1,2 +1,4 @@
|
||||
#!/usr/bin/env pwsh
|
||||
|
||||
dotnet new uninstall ../
|
||||
dotnet new --install ../
|
@ -1 +1,3 @@
|
||||
#!/usr/bin/env pwsh
|
||||
|
||||
jb cleanupcode --no-build ../NetAdmin.sln
|
Reference in New Issue
Block a user