A utility to bump Expo app versions and build numbers
npm install expo-version-bumpA simple utility to manage version and build numbers for Expo mobile applications.
``bash`
npm install -g expo-version-bumpor
npm install --save-dev expo-version-bump
`bashIncrement build numbers (default behavior)
npx expo-version-bump
$3
Add these scripts to your project's
package.json for quick access:`json
{
"scripts": {
"version:build": "expo-version-bump",
"version:patch": "expo-version-bump --patch",
"version:minor": "expo-version-bump --minor",
"version:major": "expo-version-bump --major",
"version:build:app2": "expo-version-bump --app-file=app-2.json",
"version:patch:app2": "expo-version-bump --patch --app-file=app-2.json",
"version:minor:app2": "expo-version-bump --minor --app-file=app-2.json"
}
}
`Then you can run these scripts with:
`bash
npm run version:build
npm run version:patch
npm run version:minor
``- Increment iOS and Android build numbers
- Optional version bump (patch, minor, major)
- Supports custom app.json configuration file
- Configurable file paths
- Simple CLI
MIT