Merge pull request #7 from xishang0128/master

fix
This commit is contained in:
汐殇 2023-04-10 15:52:03 +08:00 committed by GitHub
commit 344c07832f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,24 +203,23 @@ jobs:
repository: SagerNet/sing-geosite repository: SagerNet/sing-geosite
path: sing-geosite path: sing-geosite
- name: Build geosite-lite.db file - name: Build geosite-lite.db file
env: env:
NO_SKIP: true NO_SKIP: true
run: | run: |
cd sing-geosite || exit 1 cd sing-geosite || exit 1
cp ../community/geosite-lite.dat ./ sed -i 's/geosite\.db/geosite-lite.db/g' main.go
go run -v . geosite-lite.dat geosite.db sed -i 's/v2fly\/domain-list-community/xishang0128\/meta-rules-dat/g' main.go
mv geosite.db geosite-lite.db sed -i 's/dlc/geosite-lite/g' main.go
go run -v .
- name: Build geosite.db file - name: Build geosite.db file
env: env:
NO_SKIP: true NO_SKIP: true
run: | run: |
cd sing-geosite || exit 1 cd sing-geosite || exit 1
sed -i 's/geosite-v2fly\.db/geosite.db/g' main.go sed -i 's/geosite-lite\.db/geosite.db/g' main.go
sed -i 's/v2fly\/domain-list-community/xishang0128\/meta-rules-dat/g' main.go sed -i 's/geosite-lite/geosite/g' main.go
sed -i 's/dlc/geosite/g' main.go
go run -v . go run -v .
- name: Checkout SagerNet/sing-geoip - name: Checkout SagerNet/sing-geoip
@ -263,7 +262,7 @@ jobs:
curl -sSL https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Proxy/Proxy_Domain.yaml | sed '/^\s*#/d' > ./publish/proxy.yaml curl -sSL https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Proxy/Proxy_Domain.yaml | sed '/^\s*#/d' > ./publish/proxy.yaml
cd ./publish || exit 1 cd ./publish || exit 1
sha256sum geosite.dat > geosite.dat.sha256sum sha256sum geosite.dat > geosite.dat.sha256sum
sha256sum geosite-lite.dat > geositelite.dat.sha256sum sha256sum geosite-lite.dat > geosite-lite.dat.sha256sum
- name: Delete current release assets - name: Delete current release assets