mirror of
https://github.com/facebook/react.git
synced 2026-02-25 13:13:03 +00: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}})`
|
|
);
|
|
};
|