mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 00:20:28 +01:00
* Updated release script documentation and command names * Update scripts/release/README.md Co-Authored-By: Sunil Pai <threepointone@oculus.com> * Updated README Co-authored-by: Sunil Pai <threepointone@oculus.com>
14 lines
359 B
JavaScript
14 lines
359 B
JavaScript
#!/usr/bin/env node
|
|
|
|
'use strict';
|
|
|
|
const {logPromise, updateVersionsForNext} = require('../utils');
|
|
const theme = require('../theme');
|
|
|
|
module.exports = async ({reactVersion, tempDirectory, version}) => {
|
|
return logPromise(
|
|
updateVersionsForNext(tempDirectory, reactVersion, version),
|
|
theme`Updating version numbers ({version ${version}})`
|
|
);
|
|
};
|