From 6df7fc6a13fbeff0189516402394fd70d74efab0 Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Sat, 25 Apr 2020 13:47:59 +0200 Subject: [PATCH] json-only release added --- scripts/release.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index dcbc8c9f91..4b79748b1e 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -8,14 +8,15 @@ echo '{"name": "country-levels","version": "1.0.0"}' > package.json rm -rf release -for simp in low medium high +for simp in low medium high json do mkdir -p release/$simp/geojson cp *.json release/$simp cp *.md release/$simp - cp -R geojson/$simp/. release/$simp/geojson + [ $simp != "json" ] && cp -R geojson/$simp/. release/$simp/geojson cd release/$simp || exit tar -czvf ../export_$simp.tgz . cd ../.. rm -rf release/$simp done +