Skip to content

Commit

Permalink
fix: include scripts/rnsvg_utils.rb in release (#2607)
Browse files Browse the repository at this point in the history
# Summary

Hotfix for #2606, where `RNSVG.podspec` imports `scripts/rnsvg_utils.rb`
but `scripts` catalog is not included in the release.

Closes #2606

# Issue
```bash
❯ bundle exec pod install

[!] Invalid `Podfile` file:
[!] Invalid `RNSVG.podspec` file: cannot load such file -- /node_modules/react-native-svg/scripts/rnsvg_utils.

 #  from /node_modules/react-native-svg/RNSVG.podspec:2
 #  -------------------------------------------
 #  require 'json'
 >  require_relative './scripts/rnsvg_utils'
 #
 #  -------------------------------------------
```
  • Loading branch information
jakex7 authored Jan 9, 2025
1 parent 6d35373 commit 7f6fa10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"RNSVG.podspec",
"!android/build",
"windows",
"react-native.config.js"
"react-native.config.js",
"scripts/rnsvg_utils.rb"
],
"react-native-builder-bob": {
"source": "src",
Expand Down

0 comments on commit 7f6fa10

Please sign in to comment.