An open API service indexing awesome lists of open source software.

https://github.com/classfunc/expo-updater


https://github.com/classfunc/expo-updater

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

## expo-version-updater

Ảnh chụp Màn hình 2022-06-25 lúc 18 51 32

### 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`