Skip to content

Commit b9884d5

Browse files
authored
7.0.0 rc2 release (#91)
* 7.0.0-rc2-release make pack script ignore package version and fix build
1 parent 0a62925 commit b9884d5

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"dependencies": {
1616
"@mapbox/geo-viewport": "^0.4.0",
17-
"@react-native-mapbox-gl/maps": "file:../react-native-mapbox-gl-maps-7.0.0.tgz",
17+
"@react-native-mapbox-gl/maps": "file:../react-native-mapbox-gl-maps.tgz",
1818
"@turf/along": "^5.1.5",
1919
"@turf/bearing": "^5.1.5",
2020
"@turf/distance": "^5.1.5",

example/scripts/npm_pack_rngl.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,9 @@ echo "Moving into ${RNGL}"
44
cd ../
55

66
echo "Attempting to pack react-native-mapbox-gl"
7-
npm pack
7+
8+
name=$(npm pack)
9+
10+
echo "Renaming $name"
11+
12+
mv "$name" "react-native-mapbox-gl-maps.tgz"

0 commit comments

Comments
 (0)