src/version-bumpers/version.ts
import { VersionBumper } from '../types';
import { calculateVersion } from '../version';
const bumpVersion: VersionBumper = (meta, config, context) => {
const newVersion = calculateVersion(meta, config, context);
context.logger.log(
'%s manifest version changed (%s => %s) in %s',
'Expo',
meta.manifest.version,
newVersion,
meta.filename,
);
return { ...meta.manifest, version: newVersion };
};
export default bumpVersion;