Skip to content

Commit 1f9540b

Browse files
dr5hnclaude
andcommitted
fix: update data download URL to use GitHub Releases with prefix
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 52bfc72 commit 1f9540b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/update-data.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
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:"

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
155155
gunzip /tmp/countries-data.json.gz
156156

0 commit comments

Comments
 (0)