chore(release): 2.0.11

This commit is contained in:
tk
2023-12-15 17:28:11 +08:00
parent cd779c8797
commit 246c666788
3 changed files with 10 additions and 3 deletions

View File

@ -13,9 +13,14 @@ git checkout main
git branch -D release
git checkout -b release
./node_modules/.bin/standard-version -r $types[$prefix][0]
git push --follow-tags --force origin release
Start-Process -FilePath "https://github.com/nsnail/NSExt/compare/main...release"
cd ./scripts
./code.clean.ps1
git commit --amend --no-edit -a
$tag = $(git describe --tags $(git rev-list --tags --max-count=1))
git tag -d $tag
git tag $tag
git push --tags origin release
Start-Process -FilePath "https://github.com/nsnail/NSExt/compare/main...release"
Write-Host "按『Enter』回到主分支『Ctrl+C』退出"
Pause
git checkout main