Files
AIsouler-GKD_subscription/scripts/sync.ps1
2023-08-29 11:43:22 +08:00

13 lines
232 B
PowerShell

try {
pnpm build
} catch {
Write-Host "An error occurred: $_"
return
}
git add '.'
git commit -m 'chore: sync'
git push
npm publish
sleep 1s
curl -X PUT 'https://registry-direct.npmmirror.com/@gkd-kit/subscription/sync'