1.0.1 • Published 3 years ago
expo-version-updater v1.0.1
expo-version-updater
Install:
npm i -g expo-version-updaterUsage:
In Expo project root (where app.json file exists)
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 !exup -p ios --minor
updating version for platform: ios
┌─────────┬─────────┬──────────────────────────┬──────────────────────┐
│ (index) │ version │ ios │ android │
├─────────┼─────────┼──────────────────────────┼──────────────────────┤
│ expo │ '7.1' │ { buildNumber: '7.1.0' } │ { versionCode: 705 } │
└─────────┴─────────┴──────────────────────────┴──────────────────────┘
🎉 DONE !API:
-por--platform=ios|android|all(default)--patch(default),--minor,--major