From b9884d567f0d3fff5b2d04ad6ce331cbea75b9d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20Fallr=C3=B8?= Date: Thu, 6 Jun 2019 22:34:52 +0200 Subject: [PATCH] 7.0.0 rc2 release (#91) * 7.0.0-rc2-release make pack script ignore package version and fix build --- example/package.json | 2 +- example/scripts/npm_pack_rngl.sh | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/example/package.json b/example/package.json index 65dfd4625..b28f02080 100644 --- a/example/package.json +++ b/example/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@mapbox/geo-viewport": "^0.4.0", - "@react-native-mapbox-gl/maps": "file:../react-native-mapbox-gl-maps-7.0.0.tgz", + "@react-native-mapbox-gl/maps": "file:../react-native-mapbox-gl-maps.tgz", "@turf/along": "^5.1.5", "@turf/bearing": "^5.1.5", "@turf/distance": "^5.1.5", diff --git a/example/scripts/npm_pack_rngl.sh b/example/scripts/npm_pack_rngl.sh index 2f01439a2..ad20fbf8f 100755 --- a/example/scripts/npm_pack_rngl.sh +++ b/example/scripts/npm_pack_rngl.sh @@ -4,4 +4,9 @@ echo "Moving into ${RNGL}" cd ../ echo "Attempting to pack react-native-mapbox-gl" -npm pack + +name=$(npm pack) + +echo "Renaming $name" + +mv "$name" "react-native-mapbox-gl-maps.tgz" \ No newline at end of file