https://github.com/classfunc/expo-updater
https://github.com/classfunc/expo-updater
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/classfunc/expo-updater
- Owner: ClassFunc
- Created: 2022-06-25T11:42:02.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-07T05:12:34.000Z (over 2 years ago)
- Last Synced: 2025-03-11T22:46:29.482Z (about 1 year ago)
- Language: JavaScript
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## expo-version-updater

### Install:
```shell
npm i -g expo-version-updater
```
### Usage:
In Expo project root (where app.json file exists)
```sh
exup # for update all versions of ios, android and version field
updating version for platform: all
┌─────────┬─────────┬──────────────────────────┬──────────────────────┐
│ (index) │ version │ ios │ android │
├─────────┼─────────┼──────────────────────────┼──────────────────────┤
│ expo │ '7.0' │ { buildNumber: '7.0.5' } │ { versionCode: 705 } │
└─────────┴─────────┴──────────────────────────┴──────────────────────┘
🎉 DONE !
```
```sh
exup -p ios --minor
updating version for platform: ios
┌─────────┬─────────┬──────────────────────────┬──────────────────────┐
│ (index) │ version │ ios │ android │
├─────────┼─────────┼──────────────────────────┼──────────────────────┤
│ expo │ '7.1' │ { buildNumber: '7.1.0' } │ { versionCode: 705 } │
└─────────┴─────────┴──────────────────────────┴──────────────────────┘
🎉 DONE !
```
API:
- `-p ` or `--platform`=`ios` | `android` | `all`(default)
- `--patch`(default), `--minor`, `--major`