@leo108/geolite2-db 2.199.0 → 2.201.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ASN.mmdb +0 -0
- package/City.mmdb +0 -0
- package/Country.mmdb +0 -0
- package/build.sh +4 -1
- package/package.json +1 -1
package/ASN.mmdb
ADDED
|
Binary file
|
package/City.mmdb
CHANGED
|
Binary file
|
package/Country.mmdb
CHANGED
|
Binary file
|
package/build.sh
CHANGED
|
@@ -39,13 +39,16 @@ mv ./GeoLite2-Country_*/GeoLite2-Country.mmdb ./Country.mmdb
|
|
|
39
39
|
wget -O ./GeoLite2-City.tar.gz "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=${LICENSE_KEY}&suffix=tar.gz"
|
|
40
40
|
tar zxvf ./GeoLite2-City.tar.gz -C .
|
|
41
41
|
mv ./GeoLite2-City_*/GeoLite2-City.mmdb ./City.mmdb
|
|
42
|
+
wget -O ./GeoLite2-ASN.tar.gz "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-ASN&license_key=${LICENSE_KEY}&suffix=tar.gz"
|
|
43
|
+
tar zxvf ./GeoLite2-ASN.tar.gz -C .
|
|
44
|
+
mv ./GeoLite2-ASN_*/GeoLite2-ASN.mmdb ./ASN.mmdb
|
|
42
45
|
|
|
43
46
|
url_host=`git remote get-url origin | sed -e "s/https:\/\/gitlab-ci-token:.*@//g"`
|
|
44
47
|
git remote set-url origin "https://gitlab-ci-token:${GITLAB_TOKEN}@${url_host}"
|
|
45
48
|
git config lfs.https://gitlab-ci-token:${GITLAB_TOKEN}@${url_host}/info/lfs.locksverify true
|
|
46
49
|
git config user.name "leo108"
|
|
47
50
|
git config user.email "root@leo108.com"
|
|
48
|
-
git add ./Country.mmdb ./City.mmdb
|
|
51
|
+
git add ./Country.mmdb ./City.mmdb ./ASN.mmdb
|
|
49
52
|
|
|
50
53
|
if [[ -z $(git status -s -uno) ]]
|
|
51
54
|
then
|
package/package.json
CHANGED