Skip to content

Commit 7cb8d8b

Browse files
dr5hnclaude
andauthored
fix(workflow): add csv/cities.csv to gzip+release upload (#1374) (#1385)
The export workflow was generating csv/cities.csv but not compressing or uploading it, leaving downstream consumers without a stable URL for the CSV cities export. All other formats (json, sql, xml, yml, sqlite, sqlserver, geojson, toon) already gzip cities.X. This adds the missing parallel for csv/cities.csv so it gets uploaded alongside the other release assets at: https://github.com/dr5hn/countries-states-cities-database/releases/latest/download/csv-cities.csv.gz Closes #1374 Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 18f936b commit 7cb8d8b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/export.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,10 @@ jobs:
338338
339339
# CSV Files
340340
echo "📄 Compressing CSV files..."
341+
if [ -f csv/cities.csv ]; then
342+
gzip -9 -k -f csv/cities.csv
343+
echo " ✓ csv/cities.csv.gz"
344+
fi
341345
if [ -f csv/translations.csv ]; then
342346
gzip -9 -k -f csv/translations.csv
343347
echo " ✓ csv/translations.csv.gz"

0 commit comments

Comments
 (0)