mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-06-20 10:48:15 +08:00
feat: ✨ 版本更新日志组件 (#96)
This commit is contained in:
@ -13,10 +13,8 @@ git checkout main
|
||||
git branch -D release
|
||||
git checkout -b release
|
||||
./node_modules/.bin/standard-version -r $types[$prefix][0]
|
||||
cd ./scripts
|
||||
./code.clean.ps1
|
||||
git commit --amend --no-edit -a
|
||||
$tag = $(git describe --tags $(git rev-list --tags --max-count=1))
|
||||
$tag = $( git describe --tags $( git rev-list --tags --max-count = 1 ) )
|
||||
git tag -d $tag
|
||||
git tag $tag
|
||||
git push --tags origin release
|
||||
|
@ -1,5 +1,5 @@
|
||||
npm --prefix ../src/frontend/admin run prettier
|
||||
dotnet jb cleanupcode --no-build --include=$($(git status --porcelain | Where-Object { $_ -match "^\s*[MA]" } | ForEach-Object { $_.TrimStart(" M").TrimStart(" A") }) -join ";") ../NetAdmin.sln
|
||||
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 ../
|
||||
dot trim -w -e refs -e .git -e node_modules ../
|
||||
dot tolf -w -e refs -e .git -e node_modules ../
|
@ -1,4 +1,4 @@
|
||||
#r "nuget: NSExt, 1.1.0"
|
||||
#r "nuget: NSExt, 2.1.0"
|
||||
using NSExt.Extensions;
|
||||
|
||||
Console.WriteLine("请输入原始名称(NetAdmin):");
|
||||
|
@ -1 +1 @@
|
||||
dotnet jb cleanupcode --no-build ../NetAdmin.sln
|
||||
jb cleanupcode --no-build ../NetAdmin.sln
|
@ -9,7 +9,7 @@
|
||||
"packages": [
|
||||
{
|
||||
"packageName": "NSExt",
|
||||
"version": "1.1.0"
|
||||
"version": "2.1.0"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -23,5 +23,5 @@ while ($null -eq $files[[int]$file - 1])
|
||||
}
|
||||
$file = [int]$file - 1
|
||||
Copy-Item $files[$file] 'switcher.json' -Force
|
||||
dotnet dnt $targets[$key] ../NetAdmin.sln
|
||||
dnt $targets[$key] ../NetAdmin.sln
|
||||
Remove-Item switcher.json
|
Reference in New Issue
Block a user