Skip to content

Commit

Permalink
fix: use dot instead of source for shell compatibility
Browse files Browse the repository at this point in the history
- Replace 'source' with '.' in npm scripts for better compatibility with /bin/sh
- Fixes GitHub Actions build error
  • Loading branch information
EXTREMOPHILARUM committed Nov 26, 2024
1 parent 6b7326c commit 740a198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
"ios:device": "react-native run-ios --device",
"ios:iphone14": "react-native run-ios --simulator='iPhone 14'",
"android:clean-run": "cd android && ./gradlew clean && cd .. && react-native run-android",
"android:release": "source .env && cd android && ./gradlew assembleRelease && cd ..",
"android:release": ". .env && cd android && ./gradlew assembleRelease && cd ..",
"android:bundle": "cd android && ./gradlew bundleRelease && cd ..",
"android:create-keystore": "./scripts/create-keystore.sh",
"android:encode-keystore": "./scripts/encode-keystore.sh",
"android:build-release": "npm run clean:android && source .env && cd android && ./gradlew assembleRelease bundleRelease && cd .."
"android:build-release": "npm run clean:android && . .env && cd android && ./gradlew assembleRelease bundleRelease && cd .."
},
"dependencies": {
"@react-native-community/datetimepicker": "^8.2.0",
Expand Down

0 comments on commit 740a198

Please sign in to comment.