Add rule-set releases

This commit is contained in:
世界
2023-11-29 14:26:06 +08:00
parent b1dc5b3c1d
commit 4062751566
10 changed files with 141 additions and 175 deletions

13
.github/release-rule-set.sh vendored Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -e -o pipefail
cd rule-set
git init
git config --local user.email "github-action@users.noreply.github.com"
git config --local user.name "GitHub Action"
git remote add origin https://github-action:$GITHUB_TOKEN@github.com/SagerNet/sing-geoip.git
git branch -M rule-set
git add .
git commit -m "Update rule-set"
git push -f origin rule-set