Skip to content

Commit

Permalink
json-only release added
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperknot committed Apr 25, 2020
1 parent 94f4c9d commit 6df7fc6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6df7fc6

Please sign in to comment.