mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-06-20 18:58:16 +08:00
build: 📦 构建脚本优化 (#74)
This commit is contained in:
11
scripts/1.git.pull.request.ps1
Normal file
11
scripts/1.git.pull.request.ps1
Normal file
@ -0,0 +1,11 @@
|
||||
$branch = $( git branch --show-current )
|
||||
git add ../
|
||||
./code.clean.ps1
|
||||
git add ../
|
||||
../node_modules/.bin/git-cz.ps1
|
||||
git pull
|
||||
git push --set-upstream origin $branch
|
||||
Start-Process -FilePath "https://github.com/nsnail/NetAdmin/compare/main...$branch"
|
||||
Write-Host "按『Enter』重建分支,『Ctrl+C』退出"
|
||||
Pause
|
||||
./3.git.recreate.branch.ps1
|
Reference in New Issue
Block a user