File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232
3333 - name : Download latest data
3434 run : |
35- curl -L "https://raw.githubusercontent. com/dr5hn/countries-states-cities-database/refs/heads/master /json/ countries%2Bstates%2Bcities.json.gz" \
35+ curl -L "https://github. com/dr5hn/countries-states-cities-database/releases/latest/download /json- countries%2Bstates%2Bcities.json.gz" \
3636 -o /tmp/countries-data.json.gz
3737 gunzip /tmp/countries-data.json.gz
3838 echo "Downloaded data size:"
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ To update the timezone data from the source:
150150
151151``` bash
152152# Download latest data
153- curl -L " https://raw.githubusercontent. com/dr5hn/countries-states-cities-database/refs/heads/master /json/ countries%2Bstates%2Bcities.json.gz" \
153+ curl -L " https://github. com/dr5hn/countries-states-cities-database/releases/latest/download /json- countries%2Bstates%2Bcities.json.gz" \
154154 -o /tmp/countries-data.json.gz
155155gunzip /tmp/countries-data.json.gz
156156
You can’t perform that action at this time.
0 commit comments