Skip to content

Commit

Permalink
update geosite on release
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Dec 11, 2018
1 parent a138ab7 commit fd7bbdf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions release/release-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ popd
GEOIP_TAG=$(curl --silent "https://api.github.com/repos/v2ray/geoip/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
curl -L -o release/config/geoip.dat "https://github.com/v2ray/geoip/releases/download/${GEOIP_TAG}/geoip.dat"

# Update geosite.dat
GEOIP_TAG=$(curl --silent "https://api.github.com/repos/v2ray/domain-list-community/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
curl -L -o release/config/geosite.dat "https://github.com/v2ray/domain-list-community/releases/download/${GEOIP_TAG}/dlc.dat"

# Take a snapshot of all required source code
pushd $GOPATH/src

Expand Down

0 comments on commit fd7bbdf

Please sign in to comment.