From 10961eff9c469f12b75768bb649a4431a5e99ad9 Mon Sep 17 00:00:00 2001 From: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Fri, 22 May 2020 15:16:18 +0800 Subject: [PATCH 1/2] Add project stats --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index de7b97e..1bcd7c0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# 简介 +# 简介 ![GitHub All Releases](https://img.shields.io/github/downloads/Loyalsoldier/v2ray-rules-dat/total) **V2Ray** 规则文件加强版,可代替 V2Ray 官方 `geoip.dat` 和 `geosite.dat` 规则文件。利用 GitHub Actions 北京时间每天早上 6 点自动构建,保证规则最新。 @@ -310,3 +310,7 @@ - [@GeQ1an/Rules](https://github.com/GeQ1an/Rules/tree/master/QuantumultX) - [@lhie1/Rules](https://github.com/lhie1/Rules/tree/master) - [MaxMind GeoLite2 Free IP Database](https://dev.maxmind.com/geoip/geoip2/geolite2/) + +## 项目 Star 数增长趋势 + +[![Stargazers over time](https://starchart.cc/Loyalsoldier/v2ray-rules-dat.svg)](https://starchart.cc/Loyalsoldier/v2ray-rules-dat) From 838b85e50ae4f10a34a397e90d04084cd0c1ed50 Mon Sep 17 00:00:00 2001 From: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Wed, 27 May 2020 14:20:47 +0800 Subject: [PATCH 2/2] Zip rule files into one Closes #25 --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b800a28..b712060 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -138,11 +138,13 @@ jobs: mv ./*-excluse-list ./publish/ cp -f $GOPATH/src/$GEOSITE_REPO/data/{proxy,direct,reject}-list ./publish/ - - name: Generate dat files sha256 hash + - name: Zip files and generate sha256 hash run: | cd ./publish + zip rules.zip {proxy,direct,reject}-list *.dat sha256sum geoip.dat > geoip.dat.sha256sum sha256sum geosite.dat > geosite.dat.sha256sum + sha256sum rules.zip > rules.zip.sha256sum - name: Release and upload assets uses: softprops/action-gh-release@v1