netlify-plugin-expo-qr
Version:
Netlify Build Plugin to automate Expo app updates and generate QR code pages for Expo Go
116 lines (86 loc) ⢠3.63 kB
Markdown
# š¤ Automation Scripts
הקר×פ××× ××××××××× ××¢×××× ×©× × ×פר×××§××× (NetlifyPlugin ×-pluginTest) ×××Ŗ ×××Ŗ.
## š Files
- **`update-both-projects.sh`** - ×הקר××¤× ×ר××©× ××¢×××× ×©× × ×פר×××§×××
- **`quick-update.sh`** - הקר××¤× ×××ר ××¢×××× ×¢× push ××××××× ×-GitHub
## š Usage
### ×הקר××¤× ×ר×ש×
```bash
# ×¢×××× ××× push (רק commit ××§×××)
./scripts/update-both-projects.sh "×ערת ××§××××" "×רהת ×פ×××××"
# ×¢×××× ×¢× push ××××××× ×-GitHub
./scripts/update-both-projects.sh "×ערת ××§××××" "×רהת ×פ×××××" --push
```
**×××××××Ŗ:**
```bash
# ×¢×××× ×Ø×××
./scripts/update-both-projects.sh "××הפת ×Ŗ××× × ××ש×" "1.0.12"
# ×¢×××× ×¢× push
./scripts/update-both-projects.sh "×Ŗ××§×× ×××" "1.0.11" --push
```
### ×הקר××¤× ××××ר
```bash
# ×¢×××× ×¢× push ××××××× (××××ׄ ×ש×××ש ×××××××)
./scripts/quick-update.sh "×ערת ××§××××" "×רהת ×פ×××××"
```
**×××××:**
```bash
./scripts/quick-update.sh "×¢×××× ×¤×××××" "1.0.12"
```
## āļø ×× ×הקר××¤× ×¢×ש×
1. **×¢×××× NetlifyPlugin:**
- ×¢××ר ××Ŗ××§×××Ŗ NetlifyPlugin
- ×××”××£ ××Ŗ ×× ×ש×× ×××× ×-git
- ××צע commit ×¢× ×××××¢× ×©× ×Ŗ×Ŗ
- ××××£ ×-GitHub (×× ××רת ×-`--push`)
2. **×¢×××× pluginTest:**
- ×¢××ר ××Ŗ××§×××Ŗ pluginTest
- ××Ŗ×§×× ××Ŗ ×רהת ×פ××××× ×××ש×
- ×××”××£ ××Ŗ ×× ×ש×× ×××× ×-git
- ××צע commit ×¢× ×××××¢× ×©× ×Ŗ×Ŗ
- ××××£ ×-GitHub (×× ××רת ×-`--push`)
## š§ Requirements
- ×הקר××¤× ×××× ×ר×ׄ ××Ŗ×× ×Ŗ××§×××Ŗ NetlifyPlugin
- ×©×Ŗ× ××Ŗ××§×××Ŗ ××××××Ŗ ×××××Ŗ ××××Ŗ× ×Ø×× (×××××Ŗ)
- Git ×××× ×××××Ŗ ××××ר ××©×Ŗ× ××Ŗ××§×××Ŗ
- npm ×××× ×××××Ŗ ×××Ŗ×§×
## š Directory Structure
```
Projects/
āāā NetlifyPlugin/ # ×פר×××§× ×ר×ש×
ā āāā scripts/
ā ā āāā update-both-projects.sh
ā ā āāā quick-update.sh
ā ā āāā README.md
ā āāā ...
āāā pluginTest/ # פר×××§× ×××××§×
āāā ...
```
## šÆ Use Cases
### ×¢×××× ×××××××
```bash
./scripts/quick-update.sh "×¢×××× ××××" "1.0.12"
```
### ×¢×××× ×¢× ××××§× ××§××××Ŗ
```bash
./scripts/update-both-projects.sh "××××§×Ŗ פ×צ'ר ××ש" "1.0.12"
# ××××§ ש××× ×¢×××
./scripts/update-both-projects.sh "××××§×Ŗ פ×צ'ר ××ש" "1.0.12" --push
```
### ×¢×××× ××Ø×”× ××ש×
```bash
./scripts/quick-update.sh "ש×ר×ר ××Ø×”× 1.0.13" "1.0.13"
```
## ā ļø Notes
- ×הקר××¤× ××צע commit רק ×× ×ש ש×× ××××
- ×× ××× ×©×× ×××× ×-pluginTest, ××× ×צ×× ××××Ø× ××× ×× ×××ש×
- ×הקר××¤× ××××©× ×× ××Ŗ××§×××Ŗ ×× ×§×××××Ŗ ×× ×× ×ש ××¢×× ×¢× Git
- ×Ŗ××× ××××§ ××Ŗ ×פ×× ××¤× × push ×-GitHub
## š Troubleshooting
### ש××××: "directory not found"
- ×××× ×©×הקר××¤× ×Ø×„ ××Ŗ×× ×Ŗ××§×××Ŗ NetlifyPlugin
- ×××× ×©×Ŗ××§×××Ŗ pluginTest ×§××××Ŗ ××××Ŗ× ×Ø××
### ש××××: "Not in NetlifyPlugin directory"
- ×××× ×©×ש ×× ××Ŗ ××§×צ×× ×× ×רש×× (package.json, index.js)
### ש××××: "Not in pluginTest directory"
- ×××× ×©×ש ×× ××Ŗ ××§×צ×× ×× ×רש×× (package.json, netlify.toml)